public class TypedContentHandler extends ContentHandlerProxy
Modifier and Type | Class and Description |
---|---|
class |
TypedContentHandler.TypeInfoProviderImpl |
ContentHandlerProxy.ContentHandlerProxyTraceListener
handler, lexicalHandler, pendingAttributes
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 nameCode,
SchemaType typeCode,
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
|
attribute, characters, close, comment, endDocument, endElement, getConfiguration, getCurrentLocation, getPipelineConfiguration, getSystemId, getTraceListener, getUnderlyingContentHandler, isRequireWellFormed, isUndeclareNamespaces, namespace, notifyNotWellFormed, open, processingInstruction, setLexicalHandler, setOutputProperties, setPipelineConfiguration, setRequireWellFormed, setSystemId, setUndeclareNamespaces, setUnderlyingContentHandler, setUnparsedEntity, startContent, 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 nameCode, SchemaType typeCode, Location location, 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.location
- 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 revelant
properties, zero is supplied. The definitions of the bits are in class ReceiverOptions
XPathException
- if an error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.