|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectXMLElementHandler
ComplexElementHandler
public class ComplexElementHandler
This class is intended to handle parsing an xml element from an instance document for elements who's type is both known and complex. This handler is used within the XMLSAXHandler to handle sax events generated by the SAX parser.
ComplexType,
Serialized Form| Field Summary |
|---|
| Fields inherited from class XMLElementHandler |
|---|
logger |
| Constructor Summary | |
|---|---|
ComplexElementHandler(ElementHandlerFactory ehf,
Element elem)
Creates a new ComplexElementHandler object for Element elem using ElementHandlerFactory ehf. |
|
| Method Summary | |
|---|---|
void |
characters(String text1)
This method throws a SAXNotSupportedException if it is called and not overwritten. |
void |
endElement(URI namespaceURI,
String localName,
Map hints)
handles SAX end Element events. |
Element |
getElement()
This returns the Element specified. |
XMLElementHandler |
getHandler(URI namespaceURI,
String localName,
Map hints)
TODO summary sentence for getHandler ... |
String |
getName()
This returns the name of the element being represented by this handler. |
ComplexType |
getType()
returns the Type of the Elementhandler |
Object |
getValue()
TODO summary sentence for getValue ... |
void |
removeElement(XMLElementHandler handler)
Remove the given XMLElementHandler from the Child-List |
void |
startElement(URI namespaceURI,
String localName,
Attributes attr1)
TODO summary sentence for startElement ... |
| Methods inherited from class XMLElementHandler |
|---|
setLogLevel |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComplexElementHandler(ElementHandlerFactory ehf,
Element elem)
throws SAXException
ehf - ElementHandlerFactoryelem - Element
SAXException| Method Detail |
|---|
public Element getElement()
XMLElementHandler
getElement in class XMLElementHandlerXMLElementHandler.getElement()
public void characters(String text1)
throws SAXException
XMLElementHandler
characters in class XMLElementHandlerSAXException
SAXNotSupportedExceptionXMLElementHandler.characters(java.lang.String)
public void endElement(URI namespaceURI,
String localName,
Map hints)
throws OperationNotSupportedException,
SAXException
XMLElementHandler
endElement in class XMLElementHandlernamespaceURI - localName - hints -
SAXException
OperationNotSupportedExceptionSchemaContentHandler#endElement
public void startElement(URI namespaceURI,
String localName,
Attributes attr1)
startElement in class XMLElementHandlernamespaceURI - localName - attr1 - XMLElementHandler.startElement(java.net.URI, java.lang.String, org.xml.sax.Attributes)
public XMLElementHandler getHandler(URI namespaceURI,
String localName,
Map hints)
throws SAXException
getHandler in class XMLElementHandlernamespaceURI - localName - hints -
SAXExceptionXMLElementHandler.getHandler(java.net.URI, java.lang.String, java.util.Map)public Object getValue()
getValue in class XMLElementHandlerXMLElementHandler.getValue()public String getName()
XMLElementHandler
getName in class XMLElementHandlerXMLElementHandler.getName()public void removeElement(XMLElementHandler handler)
handler - public ComplexType getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||