public class StartTagBufferEE extends StartTagBuffer
bufferedAttributes, elementLocationId, elementNameCode, elementProperties, elementTypeCode, namespaces, namespacesSize
nextReceiver
pipelineConfiguration, previousAtomic, systemId
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
Constructor and Description |
---|
StartTagBufferEE(Receiver next) |
Modifier and Type | Method and Description |
---|---|
NodeInfo |
createSkeletonElementNode()
Get an element node representing the element whose start tag this is, as required
for implementing conditional type assignment
|
void |
endElement()
End of element
|
void |
gatherInheritedAttributes(AttributeCollectionImpl atts)
Get all inherited attributes
|
boolean |
hasInheritedAttributes()
Ask whether there are any attributes to inherit.
|
void |
notifyInheritableAttribute(NodeName nameCode,
String value,
int location,
int properties)
Notify an inheritable attribute
|
void |
startElement(NodeName nameCode,
SchemaType typeCode,
int locationId,
int properties)
Notify the start of an element
|
attribute, declareAllNamespaces, declareNamespacesForStartElement, endDocument, getAllAttributes, getAttribute, getAttribute, getLocalNamespaces, getURIForPrefix, hasAttributeInNamespace, hasAttributes, iteratePrefixes, namespace, setPipelineConfiguration, startContent, startDocument, undeclareNamespacesForElement
append, characters, close, comment, getNamePool, getUnderlyingReceiver, open, processingInstruction, setSystemId, setUnderlyingReceiver, setUnparsedEntity, usesTypeAnnotations
append, getConfiguration, getPipelineConfiguration, getSystemId, isTrueSequenceReceiver
public StartTagBufferEE(Receiver next)
public void startElement(NodeName nameCode, SchemaType typeCode, int locationId, int properties) throws XPathException
startElement
in interface Receiver
startElement
in class StartTagBuffer
nameCode
- integer code identifying the name of the element within the name pool.typeCode
- integer code identifying the element's type within the name pool.properties
- properties of the element nodelocationId
- 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.XPathException
- if an error occurspublic void endElement() throws XPathException
endElement
in interface Receiver
endElement
in class StartTagBuffer
XPathException
- if an error occurspublic void notifyInheritableAttribute(NodeName nameCode, String value, int location, int properties)
nameCode
- the name of the attributevalue
- the value of the attributepublic void gatherInheritedAttributes(AttributeCollectionImpl atts)
atts
- a collection of attributes; inherited attributes will be added to this collection unless there
is already an attribute in the collection with the same namepublic boolean hasInheritedAttributes()
public NodeInfo createSkeletonElementNode() throws XPathException
XPathException
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.