public class TypedContentHandler extends ContentHandlerProxy
Modifier and Type | Class and Description |
---|---|
class |
TypedContentHandler.TypeInfoProviderImpl |
ContentHandlerProxy.ContentHandlerProxyTraceListener
handler, lexicalHandler, pendingAttributes
PI_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, startDocument
public TypeInfoProvider getTypeInfoProvider()
public boolean usesTypeAnnotations()
usesTypeAnnotations
in interface Receiver
usesTypeAnnotations
in class ContentHandlerProxy
public void startElement(NodeName nameCode, SchemaType typeCode, int locationId, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ContentHandlerProxy
nameCode
- 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 ReceiverOptions
XPathException
- if an error occursCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.