public static class IlpPointSAXInfo.IlpSAXPointHandler extends IlpSAXAttributeValueHandler
IlpSAXAttributeValueHandler.ResultHandler
Modifier and Type | Field and Description |
---|---|
protected double |
x
The
x component of the point |
protected double |
y
The
y component of the point |
Constructor and Description |
---|
IlpSAXPointHandler() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String namespaceURI,
String localName,
String qName)
Indicates the end of an element.
|
protected Object |
getAttributeValue()
Is called at the end of the
attribute element. |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
Indicates the beginning of an element.
|
getFinalTag, getResultHandler, getTargetClass, getTypeConverter, isNull, readValue
getLocator, getLogger, getParent, getXMLReader, setParent
characters, checkState, clearContent, clearState, error, fatalError, getContent, getState, ignoreUntil, log, logIgnoreElement, processSAXParseException, removeState, setState, throwSAXParseException, warning
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl
protected double x
x
component of the pointprotected double y
y
component of the pointpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class IlpSAXAttributeValueHandler
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
attribute
element,
the getAttributeValue
method is called, the object is modified
accordingly, and parsing continues.endElement
in interface ContentHandler
endElement
in class IlpSAXAttributeValueHandler
SAXException
protected Object getAttributeValue()
attribute
element.
By default, it converts the content to the IlpAttribute
value class
using the type converter.getAttributeValue
in class IlpSAXAttributeValueHandler
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.