public class TypedContentHandler extends ContentHandlerProxy
Modifier and Type | Class and Description |
---|---|
class |
TypedContentHandler.TypeInfoProviderImpl |
ContentHandlerProxy.ContentHandlerProxyTraceListener
handler, lexicalHandler
Constructor and Description |
---|
TypedContentHandler() |
Modifier and Type | Method and Description |
---|---|
javax.xml.validation.TypeInfoProvider |
getTypeInfoProvider()
Get a TypeInfoProvider to provide type information for the current element or attribute
event.
|
void |
startElement(NodeName elemName,
SchemaType type,
AttributeMap attributes,
NamespaceMap namespaces,
Location location,
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
|
characters, close, comment, endDocument, endElement, getConfiguration, getCurrentLocation, getPipelineConfiguration, getSystemId, getTraceListener, getUnderlyingContentHandler, isRequireWellFormed, isUndeclareNamespaces, notifyNotWellFormed, open, processingInstruction, setLexicalHandler, setOutputProperties, setPipelineConfiguration, setRequireWellFormed, setSystemId, setUndeclareNamespaces, setUnderlyingContentHandler, setUnparsedEntity, startDocument
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, append, handlesAppend
public javax.xml.validation.TypeInfoProvider getTypeInfoProvider()
public boolean usesTypeAnnotations()
usesTypeAnnotations
in interface Receiver
usesTypeAnnotations
in class ContentHandlerProxy
public void startElement(NodeName elemName, SchemaType type, AttributeMap attributes, NamespaceMap namespaces, Location location, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class ContentHandlerProxy
elemName
- the name of the element.type
- the type annotation of the element.attributes
- the attributes of this elementnamespaces
- the in-scope namespaces of this element: generally this is all the in-scope
namespaces, without relying on inheriting namespaces from parent elementslocation
- an object providing information about the module, line, and column where the node originatedproperties
- bit-significant properties of the element node. If there are no relevant
properties, zero is supplied. The definitions of the bits are in class ReceiverOption
XPathException
- if an error occursCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.