java.lang.String name
AttributeNamespace namespace
Namespace of the Attributeboolean specified
AttributeType type
Attributejava.lang.String value
Attributejava.lang.String text
CommentContent.CType ctype
java.lang.String elementName
java.lang.String internalSubset
java.lang.String publicID
java.lang.String systemID
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException - if there is a reading problem.java.lang.ClassNotFoundException - when a class cannot be foundDocument.writeObject(ObjectOutputStream)private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
The Stream protocol is:
java.io.IOException - if there is a writing problem.java.lang.String baseURI
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException - if there is a reading problem.java.lang.ClassNotFoundException - when a class cannot be foundElement.writeObject(ObjectOutputStream)private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
java.io.IOException - if there is a writing problem.java.lang.String name
Namespace namespace
java.lang.String name
EntityRefjava.lang.String publicID
EntityRefjava.lang.String systemID
EntityRefprivate java.lang.Object readResolve()
throws java.io.InvalidObjectException
java.io.InvalidObjectException - alwaysprivate java.lang.Object writeReplace()
java.lang.String rawData
java.lang.String target
java.lang.String value
java.lang.String name
Namespace namespace
int filterMask
java.lang.String name
Namespace namespace
Document partialDocument
int col
int line
int col
int line
int col
int line
int col
int line
int col
int line
int col
int line
int col
int line
protected final java.lang.Object writeReplace()
throws java.io.ObjectStreamException
Note: Subclasses are not allowed to override this method to ensure valid serialization of all implementations.
java.io.ObjectStreamException - never.org.jdom2.xpath.jaxen.JDOMNavigator navigator
Because of the need to wrap Namespace, we also need to unwrap namespace. Further, we can't re-use the details from one 'selectNodes' to another because the Document tree may have been modified between, and also, we do not want to be holding on to memory.
Finally, we want to pre-load the NamespaceContext with the namespaces that are in scope for the contextNode being searched.
So, we need to reset the Navigator before and after each use. try{} finally {} to the rescue.
Copyright ? 2019 Jason Hunter, Brett McLaughlin. All Rights Reserved.