private void readObject(java.io.ObjectInputStream ois) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
java.lang.Object value
java.lang.String name
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
DocumentTypeImpl docType
ElementImpl docElement
java.lang.String encoding
java.lang.String actualEncoding
java.lang.String version
boolean standalone
java.lang.String fDocumentURI
java.util.Map<K,V> userData
java.util.Hashtable<K,V> identifiers
int changes
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.
boolean allowGrammarAccess
boolean errorChecking
boolean xmlVersionChanged
int documentNumber
int nodeCounter
java.util.Map<K,V> nodeTable
boolean xml11Version
java.lang.String name
NamedNodeMapImpl entities
NamedNodeMapImpl notations
NamedNodeMapImpl elements
java.lang.String publicID
java.lang.String systemID
java.lang.String internalSubset
int doctypeNumber
java.util.Hashtable<K,V> userData
java.lang.String name
NamedNodeMapImpl attributes
java.lang.String name
AttributeMap attributes
java.lang.String name
java.lang.String publicId
java.lang.String systemId
java.lang.String encoding
java.lang.String inputEncoding
java.lang.String version
java.lang.String notationName
java.lang.String baseURI
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
short flags
java.util.List<E> nodes
NodeImpl ownerNode
NodeImpl ownerNode
short flags
private void readObject(java.io.ObjectInputStream ois) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
CoreDocumentImpl ownerDocument
ChildNode firstChild
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
org.apache.xerces.xs.XSAttributeDeclaration fDeclaration
org.apache.xerces.xs.XSTypeDefinition fTypeDecl
boolean fSpecified
ValidatedInfo fValue
short fValidationAttempted
short fValidity
org.apache.xerces.xs.StringList fErrorCodes
org.apache.xerces.xs.StringList fErrorMessages
java.lang.String fValidationContext
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException
org.apache.xerces.xs.XSElementDeclaration fDeclaration
org.apache.xerces.xs.XSTypeDefinition fTypeDecl
boolean fNil
boolean fSpecified
ValidatedInfo fValue
org.apache.xerces.xs.XSNotationDeclaration fNotation
short fValidationAttempted
short fValidity
org.apache.xerces.xs.StringList fErrorCodes
org.apache.xerces.xs.StringList fErrorMessages
java.lang.String fValidationContext
org.apache.xerces.xs.XSModel fSchemaInformation
MessageFormatter fFormatter
java.util.Locale fLocale
java.lang.String fDomain
java.lang.String fKey
java.lang.Object[] fArguments
java.lang.String fMessage
java.lang.String regex
int options
int nofparen
org.apache.xerces.impl.xpath.regex.Token tokentree
boolean hasBackReferences
java.lang.String m_scheme
java.lang.String m_userinfo
java.lang.String m_host
int m_port
java.lang.String m_regAuthority
java.lang.String m_path
java.lang.String m_queryString
java.lang.String m_fragment
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.