Package eu.bandm.tools.d2d2.base
Class Meta2Pi
java.lang.Object
eu.bandm.tools.util.xml.ContentProxy
eu.bandm.tools.d2d2.base.Meta2Pi
- All Implemented Interfaces:
ContentHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class eu.bandm.tools.util.xml.ContentProxy
out -
Constructor Summary
ConstructorsConstructorDescriptionMeta2Pi(ContentHandler out) Create a SAX receiver which propagates most api calls to the SAX reveiver, but translates d2d meta elements to pi-s. -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int end) voidendElement(String uri, String localName, String qName) voidstartElement(String uri, String localName, String qName, Attributes attrs) Methods inherited from class eu.bandm.tools.util.xml.ContentProxy
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
NS_URL_D2D_META
- See Also:
-
TAG_PARSINGERROR
- See Also:
-
TAG_TAG
- See Also:
-
TAG_LOCATION
- See Also:
-
TAG_KIND
- See Also:
-
VALUE_OPEN
- See Also:
-
TAG_SKIPPED
- See Also:
-
-
Constructor Details
-
Meta2Pi
Create a SAX receiver which propagates most api calls to the SAX reveiver, but translates d2d meta elements to pi-s.
Syntax of d2d error meta elements is:[d2d-meta:parsingError (@kind "open"|"close")(@tag chars)(@location chars) ([skipped chars] | [expected chars]) ]
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classContentProxy- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classContentProxy- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classContentProxy- Throws:
SAXException
-