public class TypedContentHandler extends ContentHandlerProxy
| Modifier and Type | Class and Description |
|---|---|
class |
TypedContentHandler.TypeInfoProviderImpl |
ContentHandlerProxy.ContentHandlerProxyTraceListenerhandler, lexicalHandler, pendingAttributesPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
TypedContentHandler() |
| Modifier and Type | Method and Description |
|---|---|
TypeInfoProvider |
getTypeInfoProvider()
Get a TypeInfoProvider to provide type information for the current element or attribute
event.
|
void |
startElement(NodeName nameCode,
SchemaType typeCode,
int locationId,
int properties)
Notify the start of an element
|
boolean |
usesTypeAnnotations()
Ask whether this Receiver (or the downstream pipeline) makes any use of the type annotations
supplied on element and attribute events
|
attribute, characters, close, comment, endDocument, endElement, getConfiguration, getCurrentLocationId, getLocationProvider, getPipelineConfiguration, getSystemId, getTraceListener, getUnderlyingContentHandler, isRequireWellFormed, isUndeclareNamespaces, namespace, notifyNotWellFormed, open, processingInstruction, setLexicalHandler, setOutputProperties, setPipelineConfiguration, setRequireWellFormed, setSystemId, setUndeclareNamespaces, setUnderlyingContentHandler, setUnparsedEntity, startContent, startDocumentpublic TypeInfoProvider getTypeInfoProvider()
public boolean usesTypeAnnotations()
usesTypeAnnotations in interface ReceiverusesTypeAnnotations in class ContentHandlerProxypublic void startElement(NodeName nameCode, SchemaType typeCode, int locationId, int properties) throws XPathException
startElement in interface ReceiverstartElement in class ContentHandlerProxynameCode - the name of the element.typeCode - the type annotation of the element.locationId - an integer which can be interpreted using a LocationProvider to return
information such as line number and system ID. If no location information is available,
the value zero is supplied.properties - bit-significant properties of the element node. If there are no revelant
properties, zero is supplied. The definitions of the bits are in class ReceiverOptionsXPathException - if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.