org.apache.html.dom.HTMLCollectionImpl _anchors
HTMLCollectionImpl
object with live collection of all
anchors in document. This reference is on demand only once.org.apache.html.dom.HTMLCollectionImpl _forms
HTMLCollectionImpl
object with live collection of all
forms in document. This reference is on demand only once.org.apache.html.dom.HTMLCollectionImpl _images
HTMLCollectionImpl
object with live collection of all
images in document. This reference is on demand only once.org.apache.html.dom.HTMLCollectionImpl _links
HTMLCollectionImpl
object with live collection of all
links in document. This reference is on demand only once.org.apache.html.dom.HTMLCollectionImpl _applets
HTMLCollectionImpl
object with live collection of all
applets in document. This reference is on demand only once.StringWriter _writer
HTMLDocumentImpl.open()
.
HTMLDocumentImpl.write(java.lang.String)
, etc) to write new contents into the document and parse
that text into a document tree.org.w3c.dom.html.HTMLCollection _areas
org.w3c.dom.html.HTMLCollection _options
org.w3c.dom.html.HTMLCollection _cells
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
String data
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
DocumentTypeImpl docType
ElementImpl docElement
String encoding
String actualEncoding
String version
boolean standalone
String fDocumentURI
Map<K,V> userData
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
Map<K,V> nodeTable
boolean xml11Version
String name
NamedNodeMapImpl entities
NamedNodeMapImpl notations
NamedNodeMapImpl elements
String publicID
String systemID
String internalSubset
int doctypeNumber
Hashtable<K,V> userData
String name
NamedNodeMapImpl attributes
String name
AttributeMap attributes
String name
String publicId
String systemId
String encoding
String inputEncoding
String version
String notationName
String baseURI
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
NodeImpl ownerNode
short flags
private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException
ClassNotFoundException
IOException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
CoreDocumentImpl ownerDocument
ChildNode firstChild
String target
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
XSAttributeDeclaration fDeclaration
XSTypeDefinition fTypeDecl
boolean fSpecified
ValidatedInfo fValue
short fValidationAttempted
short fValidity
StringList fErrorCodes
StringList fErrorMessages
String fValidationContext
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
XSElementDeclaration fDeclaration
XSTypeDefinition fTypeDecl
boolean fNil
boolean fSpecified
ValidatedInfo fValue
XSNotationDeclaration fNotation
short fValidationAttempted
short fValidity
StringList fErrorCodes
StringList fErrorMessages
String fValidationContext
XSModel fSchemaInformation
MessageFormatter fFormatter
Locale fLocale
String fDomain
String fKey
Object[] fArguments
String fMessage
String fKey
String regex
int options
int nofparen
org.apache.xerces.impl.xpath.regex.Token tokentree
boolean hasBackReferences
String m_scheme
String m_userinfo
String m_host
int m_port
String m_regAuthority
String m_path
String m_queryString
String m_fragment
Exception fException
short fType
String fIdentifier
String fPublicId
String fLiteralSystemId
String fExpandedSystemId
String fBaseSystemId
int fLineNumber
int fColumnNumber
int fCharacterOffset
Copyright © 2005-2014 Apache Software Foundation. All Rights Reserved.