Top Description Inners Fields Constructors Methods
org.apache.xerces.xinclude

public Class XIncludeHandler

extends Object
implements XMLComponent, XMLDocumentFilter, XMLDTDFilter
Class Inheritance
All Implemented Interfaces
org.apache.xerces.xni.parser.XMLDTDFilter, org.apache.xerces.xni.parser.XMLDTDSource, org.apache.xerces.xni.XMLDTDHandler, org.apache.xerces.xni.parser.XMLDocumentFilter, org.apache.xerces.xni.parser.XMLDocumentSource, org.apache.xerces.xni.XMLDocumentHandler, org.apache.xerces.xni.parser.XMLComponent
Known Direct Subclasses
org.apache.xerces.xpointer.XPointerHandler
Imports
java.io.CharConversionException, .IOException, java.util.ArrayList, .Enumeration, .Locale, .Stack, .StringTokenizer, org.apache.xerces.impl.Constants, .XMLEntityManager, .XMLErrorReporter, org.apache.xerces.impl.io.MalformedByteSequenceException, org.apache.xerces.impl.msg.XMLMessageFormatter, org.apache.xerces.util.AugmentationsImpl, .HTTPInputSource, .IntStack, .ParserConfigurationSettings, .SecurityManager, .SymbolTable, .URI, .XMLAttributesImpl, .XMLChar, .XMLLocatorWrapper, .XMLResourceIdentifierImpl, .XMLSymbols, .URI.MalformedURIException, org.apache.xerces.xni.Augmentations, .NamespaceContext, .QName, .XMLAttributes, .XMLDTDHandler, .XMLDocumentHandler, .XMLLocator, .XMLResourceIdentifier, .XMLString, .XNIException, org.apache.xerces.xni.parser.XMLComponent, .XMLComponentManager, .XMLConfigurationException, .XMLDTDFilter, .XMLDTDSource, .XMLDocumentFilter, .XMLDocumentSource, .XMLEntityResolver, .XMLInputSource, .XMLParserConfiguration, org.apache.xerces.xpointer.XPointerHandler, .XPointerProcessor

This is a pipeline component which performs XInclude handling, according to the W3C specification for XML Inclusions.

This component analyzes each event in the pipeline, looking for <include> elements. An <include> element is one which has a namespace of http://www.w3.org/2001/XInclude and a localname of include. When it finds an <include> element, it attempts to include the file specified in the href attribute of the element. If inclusion succeeds, all children of the <include> element are ignored (with the exception of checking for invalid children as outlined in the specification). If the inclusion fails, the <fallback> child of the <include> element is processed.

See the XInclude specification for more information on how XInclude is to be used.

This component requires the following features and properties from the component manager that uses it:

Optional property: Furthermore, the NamespaceContext used in the pipeline is required to be an instance of XIncludeNamespaceSupport.

Currently, this implementation has only partial support for the XInclude specification. Specifically, it is missing support for XPointer document fragments. Thus, only whole documents can be included using this component in the pipeline.

Authors
Peter McCracken, IBM, Michael Glavassevich, IBM
Version
$Id: XIncludeHandler.java 778245 2009-05-24 22:27:32Z mrglavas $
See Also
XIncludeNamespaceSupport

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class
protected static class

Field Summary

Modifier and TypeField and Description
protected static final String
ALLOW_UE_AND_NOTATION_EVENTS

Feature identifier: allow notation and unparsed entity events to be sent out of order.

protected static final String
BUFFER_SIZE

property identifier: buffer size.

public static final String
CURRENT_BASE_URI

The identifier for the Augmentation that contains the current base URI

protected static final String
DYNAMIC_VALIDATION

Feature identifier: dynamic validation.

protected static final String
ENTITY_RESOLVER

Property identifier: entity resolver.

protected static final String
ERROR_REPORTER

Property identifier: error reporter.

protected final Stack<E>
protected final IntStack
protected int
protected XMLParserConfiguration
protected final XMLResourceIdentifier
protected String
private int
protected XMLLocator
protected XMLDocumentHandler
protected XMLDocumentSource
protected XMLDTDHandler
protected XMLDTDSource
private static final Boolean[]
FEATURE_DEFAULTS

Feature defaults.

protected XMLEntityResolver
protected XMLErrorReporter
protected final Stack<E>
private boolean
private boolean
pack-priv boolean
protected String
private boolean
private boolean
protected final IntStack
protected final Stack<E>
protected final Stack<E>
protected XIncludeNamespaceSupport
private boolean
private final ArrayList<E>
protected String
protected XIncludeHandler
private int
private boolean[]
private boolean[]
protected SecurityManager
private boolean
private boolean
protected ParserConfigurationSettings
private int[]
protected SymbolTable
private final ArrayList<E>
protected XIncludeTextReader
protected XIncludeTextReader
protected XMLParserConfiguration
protected XMLLocatorWrapper
protected XIncludeMessageFormatter
protected XMLParserConfiguration
protected XPointerProcessor
private static final char[]
private static final char[]
private static final char[]
private static final boolean[]
public static final String
public static final String
private static final int
protected static final String
JAXP_SCHEMA_LANGUAGE

Property identifier: JAXP schema language.

private static final QName
protected static final String
private static final Object[]
PROPERTY_DEFAULTS

Property defaults.

private static final String[]
RECOGNIZED_FEATURES

Recognized features.

private static final String[]
RECOGNIZED_PROPERTIES

Recognized properties.

protected static final String
SCHEMA_VALIDATION

Feature identifier: schema validation.

protected static final String
SECURITY_MANAGER

property identifier: security manager.

private static final int
private static final int
private static final int
protected static final String
SYMBOL_TABLE

Property identifier: symbol table.

protected static final String
VALIDATION

Feature identifier: validation.

public static final String
public static final String
public static final String
public static final String
public static final String
private static final String
public static final String
public static final String
protected static final String
XINCLUDE_FIXUP_BASE_URIS

Feature identifier: fixup base URIs.

protected static final String
XINCLUDE_FIXUP_LANGUAGE

Feature identifier: fixup language.

public static final String
public static final String
private static final String
public static final String
public static final String
public static final String
private static final QName
private static final QName
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
addNotation(String
the name of the notation
name
,
XMLResourceIdentifier
the location of the notation
identifier
,
Augmentations
any Augmentations that were on the original notation declaration
augmentations
)

Caches a notation.

protected void
addUnparsedEntity(String
the name of the unparsed entity
name
,
XMLResourceIdentifier
the location of the unparsed entity
identifier
,
String notation, Augmentations
any Augmentations that were on the original unparsed entity declaration
augmentations
)

Caches an unparsed entity.

public void
attributeDecl(String
The name of the element that this attribute is associated with.
elementName
,
String
The name of the attribute.
attributeName
,
String
The attribute type. This value will be one of the following: "CDATA", "ENTITY", "ENTITIES", "ENUMERATION", "ID", "IDREF", "IDREFS", "NMTOKEN", "NMTOKENS", or "NOTATION".
type
,
String[]
If the type has the value "ENUMERATION" or "NOTATION", this array holds the allowed attribute values; otherwise, this array is null.
enumeration
,
String
The attribute default type. This value will be one of the following: "#FIXED", "#IMPLIED", "#REQUIRED", or null.
defaultType
,
XMLString
The attribute default value, or null if no default value is specified.
defaultValue
,
XMLString
The attribute default value with no normalization performed, or null if no default value is specified.
nonNormalizedDefaultValue
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.attributeDecl.

An attribute declaration.
public void
characters(XMLString
The content.
text
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.characters.

Character content.
protected void
checkAndSendNotation(XIncludeHandler.Notation
the Notation to check for conflicts
not
)

The purpose of this method is to check if a Notation conflicts with a previously declared notation in the current pipeline stack.

protected void
checkAndSendUnparsedEntity(XIncludeHandler.UnparsedEntity
the UnparsedEntity to check for conflicts
ent
)

The purpose of this method is to check if an UnparsedEntity conflicts with a previously declared entity in the current pipeline stack.

private void
checkMultipleRootElements()

Checks whether the root element has already been processed.

protected void
checkNotation(String
the name of the Notation to check
notName
)

Checks if a Notation with the given name was declared in the DTD of the document for the current pipeline.

protected void
checkUnparsedEntity(String
the name of the UnparsedEntity to check
entName
)

Checks if an UnparsedEntity with the given name was declared in the DTD of the document for the current pipeline.

private void
checkWhitespace(XMLString
the text to check
value
)

Checks whether the string only contains white space characters.

public void
comment(XMLString
The text in the comment.
text
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.comment, org.apache.xerces.xni.XMLDTDHandler.comment.

A comment.
protected void
protected void
private void
private void
private XMLInputSource
createInputSource(String publicId, String systemId, String baseSystemId, String accept, String acceptLanguage)

Returns a new XMLInputSource from the given parameters.

public void
doctypeDecl(String
The name of the root element.
rootElement
,
String
The public identifier if an external DTD or null if the external DTD is specified using SYSTEM.
publicId
,
String
The system identifier if an external DTD, null otherwise.
systemId
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.doctypeDecl.

Notifies of the presence of the DOCTYPE line in the document.
public void
elementDecl(String
The name of the element.
name
,
String
The element content model.
contentModel
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.elementDecl.

An element declaration.
public void
emptyElement(QName
The name of the element.
element
,
XMLAttributes
The element attributes.
attributes
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.emptyElement.

An empty element.
public void
endAttlist(Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.endAttlist.

The end of an attribute list.
public void
endCDATA(Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.endCDATA.

The end of a CDATA section.
public void
endConditional(Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.endConditional.

The end of a conditional section.
public void
endDocument(Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.endDocument.

The end of the document.
public void
endDTD(Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.endDTD.

The end of the DTD.
public void
endElement(QName
The name of the element.
element
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.endElement.

The end of an element.
public void
endExternalSubset(Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.endExternalSubset.

The end of the DTD external subset.
public void
endGeneralEntity(String
The name of the entity.
name
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.endGeneralEntity.

This method notifies the end of a general entity.
public void
endParameterEntity(String
The name of the parameter entity.
name
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.endParameterEntity.

This method notifies the end of a parameter entity.
private String
public void
externalEntityDecl(String
The name of the entity. Parameter entity names start with '%', whereas the name of a general entity is just the entity name.
name
,
XMLResourceIdentifier
An object containing all location information pertinent to this external entity.
identifier
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.externalEntityDecl.

An external entity declaration.
public String

Returns:

the base URI
getBaseURI
(int depth)

Gets the base URI that was in use at that depth

public XMLDocumentHandler
public XMLDocumentSource
public XMLDTDHandler
public XMLDTDSource
public Boolean
getFeatureDefault(String
The feature identifier.
featureId
)

Implements org.apache.xerces.xni.parser.XMLComponent.getFeatureDefault.

Returns the default state for a feature, or null if this component does not want to report a default value for this feature.
private String

Returns:

the base URI of the include parent.
getIncludeParentBaseURI
()

Returns the [base URI] of the include parent.

private int

Returns:

the depth of the top level include element
getIncludeParentDepth
()

Returns the depth of the include parent.

private String

Returns:

the language property of the include parent.
getIncludeParentLanguage
()

Returns the [language] of the include parent.

public String

Returns:

the language
getLanguage
(int depth)

Gets the language that was in use at that depth.

public Object
getPropertyDefault(String
The property identifier.
propertyId
)

Implements org.apache.xerces.xni.parser.XMLComponent.getPropertyDefault.

Returns the default state for a property, or null if this component does not want to report a default value for this property.
public String[]
getRecognizedFeatures()

Implements org.apache.xerces.xni.parser.XMLComponent.getRecognizedFeatures.

Returns a list of feature identifiers that are recognized by this component.
public String[]
getRecognizedProperties()

Implements org.apache.xerces.xni.parser.XMLComponent.getRecognizedProperties.

Returns a list of property identifiers that are recognized by this component.
protected String

Returns:

the relative URI
getRelativeBaseURI
()

Returns a URI, relative to the include parent's base URI, of the current [base URI].

public String

Returns:

a relative URI to convert the base URI at the given depth to the current base URI
getRelativeURI
(int
the depth at which to start creating the relative URI
depth
)

Returns a relative URI, which when resolved against the base URI at the specified depth, will create the current base URI.

private int
getResultDepth()

Returns the current element depth of the result infoset.

private boolean
getRootElementProcessed()

Returns whether the root element has been processed.

protected boolean
getSawFallback(int depth)

Returns whether an <fallback> was encountered at the specified depth, as an ancestor of the current element, or as a sibling of an ancestor of the current element.

protected boolean

Returns:

true if an include was seen at the given depth, false otherwise
getSawInclude
(int depth)

Return whether an <include> was encountered at the specified depth, as an ancestor of the current item.

protected int
getState(int depth)

protected int
protected void
protected boolean
protected boolean

Returns:

true if the element has the namespace "http://www.w3.org/2001/XInclude"
hasXIncludeNamespace
(QName
the element to check
element
)

Returns true if the element has the namespace "http://www.w3.org/2001/XInclude"

public void
ignorableWhitespace(XMLString
The ignorable whitespace.
text
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.ignorableWhitespace.

Ignorable whitespace.
public void
ignoredCharacters(XMLString
The ignored text.
text
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.ignoredCharacters.

Characters within an IGNORE conditional section.
public void
internalEntityDecl(String
The name of the entity. Parameter entity names start with '%', whereas the name of a general entity is just the entity name.
name
,
XMLString
The value of the entity.
text
,
XMLString
The non-normalized value of the entity. This value contains the same sequence of characters that was in the internal entity declaration, without any entity references expanded.
nonNormalizedText
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.internalEntityDecl.

An internal entity declaration.
private boolean
isEqual(String one, String two)

protected boolean

Returns:

true if the element is an <fallback; element
isFallbackElement
(QName
the element to check
element
)

Checks if the element is an <fallback> element.

protected boolean

Returns:

true if the element is an <include> element
isIncludeElement
(QName
the element to check
element
)

Checks if the element is an <include> element.

protected boolean
protected boolean

Returns:

true if the current element is a top level included item
isTopLevelIncludedItem
()

Returns true if the current element is a top level included item.

protected boolean
protected boolean
private boolean

Returns:

true if the given string would be valid in an HTTP header
isValidInHTTPHeader
(String
string to check
value
)

Returns true if the given string would be valid in an HTTP header.

protected Augmentations

Returns:

the modified Augmentations
modifyAugmentations
(Augmentations
the Augmentations to modify.
augs
)

Modify the augmentations.

protected Augmentations

Returns:

the modified Augmentations
modifyAugmentations
(Augmentations
the Augmentations to modify.
augs
,
boolean
whether to force modification
force
)

Modify the augmentations.

public void
notationDecl(String
The name of the notation.
name
,
XMLResourceIdentifier
An object containing all location information pertinent to this notation.
identifier
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.notationDecl.

A notation declaration
protected XMLAttributes

Returns:

the processed XMLAttributes
processAttributes
(XMLAttributes attributes)

Processes the XMLAttributes object of startElement() calls.

public void
processingInstruction(String
The target.
target
,
XMLString
The data or null if none specified.
data
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.processingInstruction, org.apache.xerces.xni.XMLDTDHandler.processingInstruction.

A processing instruction.
protected void
processXMLBaseAttributes(XMLAttributes attributes)

Search for a xml:base attribute, and if one is found, put the new base URI into effect.

protected void
processXMLLangAttributes(XMLAttributes attributes)

Search for a xml:lang attribute, and if one is found, put the new [language] into effect.

private void
reportError(String key, Object[] args, short severity, Exception exception)

protected void
protected void
protected void
reportFatalError(String key, Object[] args, Exception exception)

protected void
protected void
protected void
reportResourceError(String key, Object[] args, Exception exception)

public void
reset(XMLComponentManager
The component manager.
componentManager
)

Implements org.apache.xerces.xni.parser.XMLComponent.reset.

Resets the component.
protected void
restoreBaseURI()

Discards the URIs at the top of the stack, and restores the ones beneath it.

public String
restoreLanguage()

Discards the language at the top of the stack, and returns the one beneath it.

protected boolean

Returns:

true if the [base URIs] are the same string
sameBaseURIAsIncludeParent
()

Returns true if the current [base URI] is the same as the [base URI] that was in effect on the include parent.

protected boolean

Returns:

true if the [language] properties have the same value taking case-insensitivity into account as per [RFC 3066].
sameLanguageAsIncludeParent
()

Returns true if the current [language] is equivalent to the [language] that was in effect on the include parent, taking case-insensitivity into account as per [RFC 3066].

protected void
saveBaseURI()

Saves the current base URI to the top of the stack.

protected void
saveLanguage(String
the language to push onto the stack.
language
)

Saves the given language on the top of the stack.

private int
scopeOfBaseURI(int depth)

private int
scopeOfLanguage(int depth)

protected boolean

Returns:

true if the source has already been included
searchForRecursiveIncludes
(String
the system id to check for inclusion
includedSysId
)

Checks if the file indicated by the given system id has already been included in the current stack.

public void
public void
public void
public void
private void
public void
setFeature(String
The feature identifier.
featureId
,
boolean
The state of the feature.
state
)

Implements org.apache.xerces.xni.parser.XMLComponent.setFeature.

Sets the state of a feature.
protected void
protected void
setParent(XIncludeHandler parent)

Set the parent of this XIncludeHandler in the tree

public void
setProperty(String
The property identifier.
propertyId
,
Object
The value of the property.
value
)

Implements org.apache.xerces.xni.parser.XMLComponent.setProperty.

Sets the value of a property.
private void
setRootElementProcessed(boolean seenRoot)

Sets whether the root element has been processed.

protected void
setSawFallback(int depth, boolean val)

Records that an <fallback> was encountered at the specified depth, as an ancestor of the current element, or as a sibling of an ancestor of the current element.

protected void
setSawInclude(int depth, boolean val)

Records that an <include> was encountered at the specified depth, as an ancestor of the current item.

protected void
setState(int state)

protected void
protected void
public void
startAttlist(String
The name of the element that this attribute list is associated with.
elementName
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.startAttlist.

The start of an attribute list.
public void
startCDATA(Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.startCDATA.

The start of a CDATA section.
public void
startConditional(short
The type of the conditional section. This value will either be CONDITIONAL_INCLUDE or CONDITIONAL_IGNORE.
type
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.startConditional.

The start of a conditional section.
public void
startDocument(XMLLocator
The document locator, or null if the document location cannot be reported during the parsing of this document. However, it is strongly recommended that a locator be supplied that can at least report the system identifier of the document.
locator
,
String
The auto-detected IANA encoding name of the entity stream. This value will be null in those situations where the entity encoding is not auto-detected (e.g. internal entities or a document entity that is parsed from a java.io.Reader).
encoding
,
NamespaceContext
The namespace context in effect at the start of this document. This object represents the current context. Implementors of this class are responsible for copying the namespace bindings from the the current context (and its parent contexts) if that information is important.
namespaceContext
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.startDocument.

Event sent at the start of the document.
public void
startDTD(XMLLocator
The document locator, or null if the document location cannot be reported during the parsing of the document DTD. However, it is strongly recommended that a locator be supplied that can at least report the base system identifier of the DTD.
locator
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.startDTD.

The start of the DTD.
public void
startElement(QName
The name of the element.
element
,
XMLAttributes
The element attributes.
attributes
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.startElement.

The start of an element.
public void
startExternalSubset(XMLResourceIdentifier
The resource identifier.
identifier
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.startExternalSubset.

The start of the DTD external subset.
public void
startGeneralEntity(String
The name of the general entity.
name
,
XMLResourceIdentifier
The resource identifier.
resId
,
String
The auto-detected IANA encoding name of the entity stream. This value will be null in those situations where the entity encoding is not auto-detected (e.g. internal entities or a document entity that is parsed from a java.io.Reader).
encoding
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.startGeneralEntity.

This method notifies the start of a general entity.
public void
startParameterEntity(String
The name of the parameter entity.
name
,
XMLResourceIdentifier
The resource identifier.
identifier
,
String
The auto-detected IANA encoding name of the entity stream. This value will be null in those situations where the entity encoding is not auto-detected (e.g. internal parameter entities).
encoding
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.startParameterEntity.

This method notifies of the start of a parameter entity.
public void
textDecl(String
The XML version, or null if not specified.
version
,
String
The IANA encoding name of the entity.
encoding
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.textDecl, org.apache.xerces.xni.XMLDTDHandler.textDecl.

Notifies of the presence of a TextDecl line in an entity.
public void
unparsedEntityDecl(String
The name of the entity.
name
,
XMLResourceIdentifier
An object containing all location information pertinent to this unparsed entity declaration.
identifier
,
String
The name of the notation.
notation
,
Augmentations
Additional information that may include infoset augmentations.
augmentations
)

Implements org.apache.xerces.xni.XMLDTDHandler.unparsedEntityDecl.

An unparsed entity declaration.
public void
xmlDecl(String
The XML version.
version
,
String
The IANA encoding name of the document, or null if not specified.
encoding
,
String
The standalone value, or null if not specified.
standalone
,
Augmentations
Additional information that may include infoset augmentations
augs
)

Implements org.apache.xerces.xni.XMLDocumentHandler.xmlDecl.

Notifies of the presence of an XMLDecl line in the document.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait