public class Meta2Pi extends ContentProxy
Modifier and Type | Field and Description |
---|---|
static String |
NS_URL_D2D_META |
static String |
TAG_KIND |
static String |
TAG_LOCATION |
static String |
TAG_PARSINGERROR |
static String |
TAG_SKIPPED |
static String |
TAG_TAG |
static String |
VALUE_OPEN |
out
Constructor and Description |
---|
Meta2Pi(ContentHandler out)
Create a SAX receiver which propagates most api calls to the SAX reveiver,
but translates d2d meta elements to pi-s.
|
Modifier and Type | Method and Description |
---|---|
void |
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) |
endDocument, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping
public static final String NS_URL_D2D_META
public static final String TAG_PARSINGERROR
public static final String TAG_TAG
public static final String TAG_LOCATION
public static final String TAG_KIND
public static final String VALUE_OPEN
public static final String TAG_SKIPPED
public Meta2Pi(ContentHandler out)
[d2d-meta:parsingError (@kind "open"|"close")(@tag chars)(@location chars) ([skipped chars] | [expected chars]) ]
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class ContentProxy
SAXException
public void characters(char[] ch, int start, int end) throws SAXException
characters
in interface ContentHandler
characters
in class ContentProxy
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class ContentProxy
SAXException
see also the complete user documentation .