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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class eu.bandm.tools.util.xml.ContentProxy
out
-
Constructor Summary
ConstructorDescriptionMeta2Pi
(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 TypeMethodDescriptionvoid
characters
(char[] ch, int start, int end) void
endElement
(String uri, String localName, String qName) void
startElement
(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, startPrefixMapping
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classContentProxy
- Throws:
SAXException
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classContentProxy
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classContentProxy
- Throws:
SAXException
-