Serialized Form
-
Package org.apache.xerces.dom
-
Class org.apache.xerces.dom.AttributeMap
class AttributeMap extends NamedNodeMapImpl implements Serializable- serialVersionUID:
- 8872606282138665383L
-
Class org.apache.xerces.dom.AttrImpl
class AttrImpl extends NodeImpl implements Serializable- serialVersionUID:
- 7277707688218972102L
-
Serialization Methods
-
readObject
Deserialize object.- Throws:
ClassNotFoundException
IOException
-
writeObject
Serialize object.- Throws:
IOException
-
-
Serialized Fields
-
Class org.apache.xerces.dom.AttrNSImpl
class AttrNSImpl extends AttrImpl implements Serializable- serialVersionUID:
- -781906615369795414L
-
Class org.apache.xerces.dom.CDATASectionImpl
class CDATASectionImpl extends TextImpl implements Serializable- serialVersionUID:
- 2372071297878177780L
-
Class org.apache.xerces.dom.CharacterDataImpl
class CharacterDataImpl extends ChildNode implements Serializable- serialVersionUID:
- 7931170150428474230L
-
Serialized Fields
-
data
String data
-
-
Class org.apache.xerces.dom.ChildNode
class ChildNode extends NodeImpl implements Serializable- serialVersionUID:
- -6112455738802414002L
-
Class org.apache.xerces.dom.CommentImpl
class CommentImpl extends CharacterDataImpl implements Serializable- serialVersionUID:
- -2685736833408134044L
-
Class org.apache.xerces.dom.CoreDocumentImpl
class CoreDocumentImpl extends ParentNode implements Serializable- serialVersionUID:
- 0L
-
Serialization Methods
-
readObject
The serialized forms of the user data and node table maps are Hashtables. Convert them into WeakHashMaps on load.- Throws:
IOException
ClassNotFoundException
-
writeObject
To allow DOM trees serialized by newer versions of Xerces to be read by older versions briefly move the user data and node table into Hashtables.- Throws:
IOException
-
-
Serialized Fields
-
actualEncoding
String actualEncoding
Experimental DOM Level 3 feature: Document actualEncoding -
allowGrammarAccess
boolean allowGrammarAccess
Allow grammar access. -
changes
int changes
Number of alterations made to this document since its creation. Serves as a "dirty bit" so that live objects such as NodeList can recognize when an alteration has been made and discard its cached state information.Any method that alters the tree structure MUST cause or be accompanied by a call to changed(), to inform it that any outstanding NodeLists may have to be updated.
(Required because NodeList is simultaneously "live" and integer- indexed -- a bad decision in the DOM's design.)
Note that changes which do not affect the tree's structure -- changing the node's name, for example -- do _not_ have to call changed().
Alternative implementation would be to use a cryptographic Digest value rather than a count. This would have the advantage that "harmless" changes (those producing equal() trees) would not force NodeList to resynchronize. Disadvantage is that it's slightly more prone to "false negatives", though that's the difference between "wildly unlikely" and "absurdly unlikely". IF we start maintaining digests, we should consider taking advantage of them. Note: This used to be done a node basis, so that we knew what subtree changed. But since only DeepNodeList really use this today, the gain appears to be really small compared to the cost of having an int on every (parent) node plus having to walk up the tree all the way to the root to mark the branch as changed everytime a node is changed. So we now have a single counter global to the document. It means that some objects may flush their cache more often than necessary, but this makes nodes smaller and only the document needs to be marked as changed.
-
docElement
ElementImpl docElement
Document element. -
docType
DocumentTypeImpl docType
Document type. -
documentNumber
int documentNumber
The following are required for compareDocumentPosition -
encoding
String encoding
Experimental DOM Level 3 feature: Document encoding -
errorChecking
boolean errorChecking
Bypass error checking. -
fDocumentURI
String fDocumentURI
Experimental DOM Level 3 feature: documentURI -
identifiers
Hashtable identifiers
Identifiers. -
nodeCounter
int nodeCounter
-
nodeTable
Map nodeTable
-
standalone
boolean standalone
Experimental DOM Level 3 feature: Document standalone -
userData
Map userData
Table for user data attached to this document nodes. -
version
String version
Experimental DOM Level 3 feature: Document version -
xml11Version
boolean xml11Version
-
xmlVersionChanged
boolean xmlVersionChanged
-
-
Class org.apache.xerces.dom.DeferredAttrImpl
class DeferredAttrImpl extends AttrImpl implements Serializable- serialVersionUID:
- 6903232312469148636L
-
Class org.apache.xerces.dom.DeferredAttrNSImpl
class DeferredAttrNSImpl extends AttrNSImpl implements Serializable- serialVersionUID:
- 6074924934945957154L
-
Class org.apache.xerces.dom.DeferredCDATASectionImpl
class DeferredCDATASectionImpl extends CDATASectionImpl implements Serializable- serialVersionUID:
- 1983580632355645726L
-
Class org.apache.xerces.dom.DeferredCommentImpl
class DeferredCommentImpl extends CommentImpl implements Serializable- serialVersionUID:
- 6498796371083589338L
-
Class org.apache.xerces.dom.DeferredDocumentImpl
class DeferredDocumentImpl extends DocumentImpl implements Serializable- serialVersionUID:
- 5186323580749626857L
-
Serialized Fields
-
fNamespacesEnabled
boolean fNamespacesEnabled
DOM2: For namespace support in the deferred case.
-
-
Class org.apache.xerces.dom.DeferredDocumentTypeImpl
class DeferredDocumentTypeImpl extends DocumentTypeImpl implements Serializable- serialVersionUID:
- -2172579663227313509L
-
Class org.apache.xerces.dom.DeferredElementDefinitionImpl
class DeferredElementDefinitionImpl extends ElementDefinitionImpl implements Serializable- serialVersionUID:
- 6703238199538041591L
-
Class org.apache.xerces.dom.DeferredElementImpl
class DeferredElementImpl extends ElementImpl implements Serializable- serialVersionUID:
- -7670981133940934842L
-
Class org.apache.xerces.dom.DeferredElementNSImpl
class DeferredElementNSImpl extends ElementNSImpl implements Serializable- serialVersionUID:
- -5001885145370927385L
-
Class org.apache.xerces.dom.DeferredEntityImpl
class DeferredEntityImpl extends EntityImpl implements Serializable- serialVersionUID:
- 4760180431078941638L
-
Class org.apache.xerces.dom.DeferredEntityReferenceImpl
class DeferredEntityReferenceImpl extends EntityReferenceImpl implements Serializable- serialVersionUID:
- 390319091370032223L
-
Class org.apache.xerces.dom.DeferredNotationImpl
class DeferredNotationImpl extends NotationImpl implements Serializable- serialVersionUID:
- 5705337172887990848L
-
Class org.apache.xerces.dom.DeferredProcessingInstructionImpl
class DeferredProcessingInstructionImpl extends ProcessingInstructionImpl implements Serializable- serialVersionUID:
- -4643577954293565388L
-
Class org.apache.xerces.dom.DeferredTextImpl
class DeferredTextImpl extends TextImpl implements Serializable- serialVersionUID:
- 2310613872100393425L
-
Class org.apache.xerces.dom.DocumentFragmentImpl
class DocumentFragmentImpl extends ParentNode implements Serializable- serialVersionUID:
- -7596449967279236746L
-
Class org.apache.xerces.dom.DocumentImpl
class DocumentImpl extends CoreDocumentImpl implements Serializable- serialVersionUID:
- 515687835542616694L
-
Serialized Fields
-
eventListeners
Hashtable eventListeners
Table for event listeners registered to this document nodes. -
mutationEvents
boolean mutationEvents
Bypass mutation events firing. -
savedEnclosingAttr
org.apache.xerces.dom.DocumentImpl.EnclosingAttr savedEnclosingAttr
-
-
Class org.apache.xerces.dom.DocumentTypeImpl
class DocumentTypeImpl extends ParentNode implements Serializable- serialVersionUID:
- 7751299192316526485L
-
Serialized Fields
-
doctypeNumber
int doctypeNumber
The following are required for compareDocumentPosition -
elements
NamedNodeMapImpl elements
Elements. -
entities
NamedNodeMapImpl entities
Entities. -
internalSubset
String internalSubset
-
name
String name
Document type name. -
notations
NamedNodeMapImpl notations
Notations. -
publicID
String publicID
-
systemID
String systemID
-
userData
Hashtable userData
-
-
Class org.apache.xerces.dom.ElementDefinitionImpl
class ElementDefinitionImpl extends ParentNode implements Serializable- serialVersionUID:
- -8373890672670022714L
-
Serialized Fields
-
attributes
NamedNodeMapImpl attributes
Default attributes. -
name
String name
Element definition name.
-
-
Class org.apache.xerces.dom.ElementImpl
class ElementImpl extends ParentNode implements Serializable- serialVersionUID:
- 3717253516652722278L
-
Serialized Fields
-
attributes
AttributeMap attributes
Attributes. -
name
String name
Element name.
-
-
Class org.apache.xerces.dom.ElementNSImpl
class ElementNSImpl extends ElementImpl implements Serializable- serialVersionUID:
- -9142310625494392642L
-
Class org.apache.xerces.dom.EntityImpl
class EntityImpl extends ParentNode implements Serializable- serialVersionUID:
- -3575760943444303423L
-
Serialized Fields
-
baseURI
String baseURI
base uri -
encoding
String encoding
Encoding -
inputEncoding
String inputEncoding
Input Encoding -
name
String name
Entity name. -
notationName
String notationName
Notation name. -
publicId
String publicId
Public identifier. -
systemId
String systemId
System identifier. -
version
String version
Version
-
-
Class org.apache.xerces.dom.EntityReferenceImpl
class EntityReferenceImpl extends ParentNode implements Serializable- serialVersionUID:
- -7381452955687102062L
-
Class org.apache.xerces.dom.NamedNodeMapImpl
class NamedNodeMapImpl extends Object implements Serializable- serialVersionUID:
- -7039242451046758020L
-
Serialization Methods
-
readObject
- Throws:
IOException
ClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
Class org.apache.xerces.dom.NodeImpl
class NodeImpl extends Object implements Serializable- serialVersionUID:
- -6316591992167219696L
-
Serialization Methods
-
writeObject
Serialize object.- Throws:
IOException
-
-
Serialized Fields
-
flags
short flags
-
ownerNode
NodeImpl ownerNode
-
-
Class org.apache.xerces.dom.NotationImpl
class NotationImpl extends NodeImpl implements Serializable- serialVersionUID:
- -764632195890658402L
-
Class org.apache.xerces.dom.ParentNode
class ParentNode extends ChildNode implements Serializable- serialVersionUID:
- 2815829867152120872L
-
Serialization Methods
-
readObject
Deserialize object.- Throws:
ClassNotFoundException
IOException
-
writeObject
Serialize object.- Throws:
IOException
-
-
Serialized Fields
-
firstChild
ChildNode firstChild
First child. -
ownerDocument
CoreDocumentImpl ownerDocument
Owner document.
-
-
Class org.apache.xerces.dom.ProcessingInstructionImpl
class ProcessingInstructionImpl extends CharacterDataImpl implements Serializable- serialVersionUID:
- 7554435174099981510L
-
Serialized Fields
-
target
String target
-
-
Class org.apache.xerces.dom.PSVIAttrNSImpl
class PSVIAttrNSImpl extends AttrNSImpl implements Serializable- serialVersionUID:
- -3241738699421018889L
-
Serialization Methods
-
readObject
- Throws:
IOException
ClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
fDeclaration
org.apache.xerces.xs.XSAttributeDeclaration fDeclaration
attribute declaration -
fErrorCodes
org.apache.xerces.xs.StringList fErrorCodes
error codes -
fErrorMessages
org.apache.xerces.xs.StringList fErrorMessages
error messages -
fSpecified
boolean fSpecified
If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false -
fTypeDecl
org.apache.xerces.xs.XSTypeDefinition fTypeDecl
type of attribute, simpleType -
fValidationAttempted
short fValidationAttempted
validation attempted: none, partial, full -
fValidationContext
String fValidationContext
validation context: could be QName or XPath expression -
fValidity
short fValidity
validity: valid, invalid, unknown -
fValue
ValidatedInfo fValue
Schema value
-
-
Class org.apache.xerces.dom.PSVIDocumentImpl
class PSVIDocumentImpl extends DocumentImpl implements Serializable- serialVersionUID:
- -8822220250676434522L
-
Serialization Methods
-
readObject
- Throws:
IOException
ClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Class org.apache.xerces.dom.PSVIElementNSImpl
class PSVIElementNSImpl extends ElementNSImpl implements Serializable- serialVersionUID:
- 6815489624636016068L
-
Serialization Methods
-
readObject
- Throws:
IOException
ClassNotFoundException
-
writeObject
- Throws:
IOException
-
-
Serialized Fields
-
fDeclaration
org.apache.xerces.xs.XSElementDeclaration fDeclaration
element declaration -
fErrorCodes
org.apache.xerces.xs.StringList fErrorCodes
error codes -
fErrorMessages
org.apache.xerces.xs.StringList fErrorMessages
error messages -
fNil
boolean fNil
true if clause 3.2 of Element Locally Valid (Element) (3.3.4) is satisfied, otherwise false -
fNotation
org.apache.xerces.xs.XSNotationDeclaration fNotation
http://www.w3.org/TR/xmlschema-1/#e-notation -
fSchemaInformation
org.apache.xerces.xs.XSModel fSchemaInformation
the schema information property -
fSpecified
boolean fSpecified
false if the element value was provided by the schema; true otherwise. -
fTypeDecl
org.apache.xerces.xs.XSTypeDefinition fTypeDecl
type of element, could be xsi:type -
fValidationAttempted
short fValidationAttempted
validation attempted: none, partial, full -
fValidationContext
String fValidationContext
validation context: could be QName or XPath expression -
fValidity
short fValidity
validity: valid, invalid, unknown -
fValue
ValidatedInfo fValue
Schema value
-
-
Exception Class org.apache.xerces.dom.RangeExceptionImpl
class RangeExceptionImpl extends RangeException implements Serializable- serialVersionUID:
- -9058052627467240856L
-
Class org.apache.xerces.dom.TextImpl
class TextImpl extends CharacterDataImpl implements Serializable- serialVersionUID:
- -5294980852957403469L
-
-
Package org.apache.xerces.impl.dv
-
Exception Class org.apache.xerces.impl.dv.DatatypeException
class DatatypeException extends Exception implements Serializable- serialVersionUID:
- 1940805832730465578L
-
Exception Class org.apache.xerces.impl.dv.DVFactoryException
class DVFactoryException extends RuntimeException implements Serializable- serialVersionUID:
- -3738854697928682412L
-
Exception Class org.apache.xerces.impl.dv.InvalidDatatypeFacetException
class InvalidDatatypeFacetException extends DatatypeException implements Serializable- serialVersionUID:
- -4104066085909970654L
-
Exception Class org.apache.xerces.impl.dv.InvalidDatatypeValueException
class InvalidDatatypeValueException extends DatatypeException implements Serializable- serialVersionUID:
- -5523739426958236125L
-
-
Package org.apache.xerces.impl.dv.xs
-
Exception Class org.apache.xerces.impl.dv.xs.SchemaDateTimeException
class SchemaDateTimeException extends RuntimeException implements Serializable- serialVersionUID:
- -8520832235337769040L
-
-
Package org.apache.xerces.impl.io
-
Exception Class org.apache.xerces.impl.io.MalformedByteSequenceException
class MalformedByteSequenceException extends CharConversionException implements Serializable- serialVersionUID:
- 8436382245048328739L
-
Serialized Fields
-
fArguments
Object[] fArguments
replacement arguements for the error message -
fDomain
String fDomain
error domain -
fFormatter
MessageFormatter fFormatter
message formatter -
fKey
String fKey
key for the error message -
fLocale
Locale fLocale
locale for error message -
fMessage
String fMessage
message text for this message, initially null
-
-
-
Package org.apache.xerces.impl.xpath
-
Exception Class org.apache.xerces.impl.xpath.XPathException
class XPathException extends Exception implements Serializable- serialVersionUID:
- -948482312169512085L
-
Serialized Fields
-
fKey
String fKey
-
-
-
Package org.apache.xerces.impl.xpath.regex
-
Exception Class org.apache.xerces.impl.xpath.regex.ParseException
class ParseException extends RuntimeException implements Serializable- serialVersionUID:
- -7012400318097691370L
-
Serialized Fields
-
location
int location
-
-
Class org.apache.xerces.impl.xpath.regex.RegularExpression
class RegularExpression extends Object implements Serializable- serialVersionUID:
- 6242499334195006401L
-
Serialized Fields
-
hasBackReferences
boolean hasBackReferences
-
nofparen
int nofparen
The number of parenthesis in the regular expression. -
options
int options
-
regex
String regex
A regular expression. -
tokentree
org.apache.xerces.impl.xpath.regex.Token tokentree
Internal representation of the regular expression.
-
-
-
Package org.apache.xerces.impl.xs
-
Exception Class org.apache.xerces.impl.xs.XMLSchemaException
class XMLSchemaException extends Exception implements Serializable- serialVersionUID:
- -9096984648537046218L
-
-
Package org.apache.xerces.util
-
Class org.apache.xerces.util.URI
class URI extends Object implements Serializable- serialVersionUID:
- 1601921774685357214L
-
Serialized Fields
-
m_fragment
String m_fragment
If specified, stores the fragment for this URI; otherwise null -
m_host
String m_host
If specified, stores the host for this URI; otherwise null -
m_path
String m_path
If specified, stores the path for this URI; otherwise null -
m_port
int m_port
If specified, stores the port for this URI; otherwise -1 -
m_queryString
String m_queryString
If specified, stores the query string for this URI; otherwise null. -
m_regAuthority
String m_regAuthority
If specified, stores the registry based authority for this URI; otherwise -1 -
m_scheme
String m_scheme
Stores the scheme (usually the protocol) for this URI. -
m_userinfo
String m_userinfo
If specified, stores the userinfo for this URI; otherwise null
-
-
Exception Class org.apache.xerces.util.URI.MalformedURIException
class MalformedURIException extends IOException implements Serializable- serialVersionUID:
- -6695054834342951930L
-