Serialized Form
Package org.apache.xerces.dom |
readObject
private void readObject(java.io.ObjectInputStream ois)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Deserialize object.
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Serialize object.
value
java.lang.Object value
- This can either be a String or the first child node.
name
java.lang.String name
- Attribute name.
namespaceURI
java.lang.String namespaceURI
- DOM2: Namespace URI.
localName
java.lang.String localName
- DOM2: localName.
data
java.lang.String data
previousSibling
ChildNode previousSibling
- Previous sibling.
nextSibling
ChildNode nextSibling
- Next sibling.
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- The serialized forms of the user data and node table
maps are Hashtables. Convert them into WeakHashMaps
on load.
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- 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.
docType
DocumentTypeImpl docType
- Document type.
docElement
ElementImpl docElement
- Document element.
encoding
java.lang.String encoding
- Experimental DOM Level 3 feature: Document encoding
actualEncoding
java.lang.String actualEncoding
- Experimental DOM Level 3 feature: Document actualEncoding
version
java.lang.String version
- Experimental DOM Level 3 feature: Document version
standalone
boolean standalone
- Experimental DOM Level 3 feature: Document standalone
fDocumentURI
java.lang.String fDocumentURI
- Experimental DOM Level 3 feature: documentURI
userData
java.util.Map userData
- Table for user data attached to this document nodes.
identifiers
java.util.Hashtable identifiers
- Identifiers.
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.
allowGrammarAccess
boolean allowGrammarAccess
- Allow grammar access.
errorChecking
boolean errorChecking
- Bypass error checking.
xmlVersionChanged
boolean xmlVersionChanged
documentNumber
int documentNumber
- The following are required for compareDocumentPosition
nodeCounter
int nodeCounter
nodeTable
java.util.Map nodeTable
xml11Version
boolean xml11Version
fNamespacesEnabled
boolean fNamespacesEnabled
- DOM2: For namespace support in the deferred case.
eventListeners
java.util.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
name
java.lang.String name
- Document type name.
entities
NamedNodeMapImpl entities
- Entities.
notations
NamedNodeMapImpl notations
- Notations.
elements
NamedNodeMapImpl elements
- Elements.
publicID
java.lang.String publicID
systemID
java.lang.String systemID
internalSubset
java.lang.String internalSubset
doctypeNumber
int doctypeNumber
- The following are required for compareDocumentPosition
userData
java.util.Hashtable userData
name
java.lang.String name
- Element definition name.
attributes
NamedNodeMapImpl attributes
- Default attributes.
name
java.lang.String name
- Element name.
attributes
AttributeMap attributes
- Attributes.
namespaceURI
java.lang.String namespaceURI
- DOM2: Namespace URI.
localName
java.lang.String localName
- DOM2: localName.
name
java.lang.String name
- Entity name.
publicId
java.lang.String publicId
- Public identifier.
systemId
java.lang.String systemId
- System identifier.
encoding
java.lang.String encoding
- Encoding
inputEncoding
java.lang.String inputEncoding
- Input Encoding
version
java.lang.String version
- Version
notationName
java.lang.String notationName
- Notation name.
baseURI
java.lang.String baseURI
- base uri
name
java.lang.String name
- Name of Entity referenced
baseURI
java.lang.String baseURI
- Base URI
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
flags
short flags
nodes
java.util.List nodes
- Nodes.
ownerNode
NodeImpl ownerNode
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Serialize object.
ownerNode
NodeImpl ownerNode
flags
short flags
name
java.lang.String name
- Notation name.
publicId
java.lang.String publicId
- Public identifier.
systemId
java.lang.String systemId
- System identifier.
baseURI
java.lang.String baseURI
- Base URI
readObject
private void readObject(java.io.ObjectInputStream ois)
throws java.lang.ClassNotFoundException,
java.io.IOException
- Deserialize object.
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Serialize object.
ownerDocument
CoreDocumentImpl ownerDocument
- Owner document.
firstChild
ChildNode firstChild
- First child.
target
java.lang.String target
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
fDeclaration
org.apache.xerces.xs.XSAttributeDeclaration fDeclaration
- attribute declaration
fTypeDecl
org.apache.xerces.xs.XSTypeDefinition fTypeDecl
- type of attribute, simpleType
fSpecified
boolean fSpecified
- If this attribute was explicitly given a
value in the original document, this is true; otherwise, it is false
fValue
ValidatedInfo fValue
- Schema value
fValidationAttempted
short fValidationAttempted
- validation attempted: none, partial, full
fValidity
short fValidity
- validity: valid, invalid, unknown
fErrorCodes
org.apache.xerces.xs.StringList fErrorCodes
- error codes
fErrorMessages
org.apache.xerces.xs.StringList fErrorMessages
- error messages
fValidationContext
java.lang.String fValidationContext
- validation context: could be QName or XPath expression
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
fDeclaration
org.apache.xerces.xs.XSElementDeclaration fDeclaration
- element declaration
fTypeDecl
org.apache.xerces.xs.XSTypeDefinition fTypeDecl
- type of element, could be xsi:type
fNil
boolean fNil
- true if clause 3.2 of Element Locally Valid (Element) (3.3.4)
is satisfied, otherwise false
fSpecified
boolean fSpecified
- false if the element value was provided by the schema; true otherwise.
fValue
ValidatedInfo fValue
- Schema value
fNotation
org.apache.xerces.xs.XSNotationDeclaration fNotation
- http://www.w3.org/TR/xmlschema-1/#e-notation
fValidationAttempted
short fValidationAttempted
- validation attempted: none, partial, full
fValidity
short fValidity
- validity: valid, invalid, unknown
fErrorCodes
org.apache.xerces.xs.StringList fErrorCodes
- error codes
fErrorMessages
org.apache.xerces.xs.StringList fErrorMessages
- error messages
fValidationContext
java.lang.String fValidationContext
- validation context: could be QName or XPath expression
fSchemaInformation
org.apache.xerces.xs.XSModel fSchemaInformation
- the schema information property
Package org.apache.xerces.impl.dv |
key
java.lang.String key
args
java.lang.Object[] args
Package org.apache.xerces.impl.dv.xs |
Package org.apache.xerces.impl.io |
fFormatter
MessageFormatter fFormatter
- message formatter
fLocale
java.util.Locale fLocale
- locale for error message
fDomain
java.lang.String fDomain
- error domain
fKey
java.lang.String fKey
- key for the error message
fArguments
java.lang.Object[] fArguments
- replacement arguements for the error message
fMessage
java.lang.String fMessage
- message text for this message, initially null
Package org.apache.xerces.impl.xpath |
fKey
java.lang.String fKey
Package org.apache.xerces.impl.xpath.regex |
location
int location
regex
java.lang.String regex
- A regular expression.
-
options
int options
-
nofparen
int nofparen
- The number of parenthesis in the regular expression.
-
tokentree
org.apache.xerces.impl.xpath.regex.Token tokentree
- Internal representation of the regular expression.
-
hasBackReferences
boolean hasBackReferences
Package org.apache.xerces.impl.xs |
key
java.lang.String key
args
java.lang.Object[] args
Package org.apache.xerces.util |
m_scheme
java.lang.String m_scheme
- Stores the scheme (usually the protocol) for this URI.
m_userinfo
java.lang.String m_userinfo
- If specified, stores the userinfo for this URI; otherwise null
m_host
java.lang.String m_host
- If specified, stores the host for this URI; otherwise null
m_port
int m_port
- If specified, stores the port for this URI; otherwise -1
m_regAuthority
java.lang.String m_regAuthority
- If specified, stores the registry based authority for this URI; otherwise -1
m_path
java.lang.String m_path
- If specified, stores the path for this URI; otherwise null
m_queryString
java.lang.String m_queryString
- If specified, stores the query string for this URI; otherwise
null.
m_fragment
java.lang.String m_fragment
- If specified, stores the fragment for this URI; otherwise null
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.