Serialized Form
-
Package org.jdom2
-
Class org.jdom2.Attribute extends org.jdom2.CloneBase implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
name
java.lang.String name
The local name of theAttribute
-
namespace
Namespace namespace
The
of theNamespace
Attribute
-
specified
boolean specified
Specified attributes are part of the XML, unspecified attributes are 'defaulted' from a DTD. -
type
AttributeType type
The type of theAttribute
-
value
java.lang.String value
The value of theAttribute
-
-
Class org.jdom2.CDATA extends Text implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.Comment extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
text
java.lang.String text
Text of theComment
-
-
Class org.jdom2.Content extends org.jdom2.CloneBase implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
ctype
Content.CType ctype
The content type enumerate value for this Content
-
-
Class org.jdom2.DataConversionException extends JDOMException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.DocType extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
elementName
java.lang.String elementName
The element being constrained -
internalSubset
java.lang.String internalSubset
The internal subset of the DOCTYPE -
publicID
java.lang.String publicID
The public ID of the DOCTYPE -
systemID
java.lang.String systemID
The system ID of the DOCTYPE
-
-
Class org.jdom2.Document extends org.jdom2.CloneBase implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
Read an Element off the ObjectInputStream.- Throws:
java.io.IOException
- if there is a reading problem.java.lang.ClassNotFoundException
- when a class cannot be found- See Also:
Document.writeObject(ObjectOutputStream)
-
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
Serialize out the Element.- Serial Data:
- Document Properties are not serialized!
The Stream protocol is:
- The BaseURI using default Serialization.
- The count of child Content
- The actual Child Content.
- Throws:
java.io.IOException
- if there is a writing problem.
-
-
Serialized Fields
-
baseURI
java.lang.String baseURI
See http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/core.html#baseURIs-Considerations
-
-
Class org.jdom2.Element extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
Read an Element off the ObjectInputStream.- Throws:
java.io.IOException
- if there is a reading problem.java.lang.ClassNotFoundException
- when a class cannot be found- See Also:
Element.writeObject(ObjectOutputStream)
-
writeObject
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
Serialize out the Element.- Serial Data:
- The Stream protocol is:
- The Element name and Namespace using default Serialization.
- The count of additional Namespace Declarations.
- The actual additional Namespace Declarations.
- The count of Attributes.
- The actual Attributes.
- The count of child Content
- The actual Child Content.
- Throws:
java.io.IOException
- if there is a writing problem.
-
-
Serialized Fields
-
name
java.lang.String name
The local name of the element -
namespace
Namespace namespace
The namespace of the element
-
-
Class org.jdom2.EntityRef extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
name
java.lang.String name
The name of theEntityRef
-
publicID
java.lang.String publicID
The PublicID of theEntityRef
-
systemID
java.lang.String systemID
The SystemID of theEntityRef
-
-
Class org.jdom2.IllegalAddException extends java.lang.IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.IllegalDataException extends java.lang.IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.IllegalNameException extends java.lang.IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.IllegalTargetException extends java.lang.IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.JDOMException extends java.lang.Exception implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.Namespace extends java.lang.Object implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
readResolve
private java.lang.Object readResolve() throws java.io.InvalidObjectException
Because Namespace is serialized by proxy, the reading of direct Namespace instances is illegal and prohibited.- Throws:
java.io.InvalidObjectException
- always
-
writeReplace
private java.lang.Object writeReplace()
Serializes Namespace by using a proxy serialization instance.- Serial Data:
- The proxy deals with the protocol.
-
-
Class org.jdom2.ProcessingInstruction extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
rawData
java.lang.String rawData
The data for the PI as a String -
target
java.lang.String target
The target of the PI
-
-
Class org.jdom2.Text extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
value
java.lang.String value
The actual character content
-
-
-
Package org.jdom2.filter
-
Class org.jdom2.filter.AbstractFilter extends java.lang.Object implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom2.filter.AttributeFilter extends AbstractFilter<Attribute> implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
name
java.lang.String name
The element name -
namespace
Namespace namespace
The element namespace
-
-
Class org.jdom2.filter.ContentFilter extends AbstractFilter<Content> implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
filterMask
int filterMask
The JDOM object mask
-
-
Class org.jdom2.filter.ElementFilter extends AbstractFilter<Element> implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
name
java.lang.String name
The element name -
namespace
Namespace namespace
The element namespace
-
-
-
Package org.jdom2.input
-
Class org.jdom2.input.JDOMParseException extends JDOMException implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
partialDocument
Document partialDocument
The portion of the document that was successfully built before the parse error occurred.
-
-
-
Package org.jdom2.located
-
Class org.jdom2.located.LocatedCDATA extends CDATA implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedComment extends Comment implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedDocType extends DocType implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedElement extends Element implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedEntityRef extends EntityRef implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedProcessingInstruction extends ProcessingInstruction implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedText extends Text implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
-
Package org.jdom2.transform
-
Class org.jdom2.transform.XSLTransformException extends JDOMException implements Serializable
- serialVersionUID:
- 200L
-
-
Package org.jdom2.xpath
-
Class org.jdom2.xpath.XPath extends java.lang.Object implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
writeReplace
protected final java.lang.Object writeReplace() throws java.io.ObjectStreamException
Deprecated.[Serialization support] Returns the alternative object to write to the stream when serializing this object. This method returns an instance of a dedicated nested class to serialize XPath expressions independently of the concrete implementation being used.Note: Subclasses are not allowed to override this method to ensure valid serialization of all implementations.
- Throws:
java.io.ObjectStreamException
- never.
-
-
-
Package org.jdom2.xpath.jaxen
-
Class org.jdom2.xpath.jaxen.JDOMXPath extends XPath implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
navigator
org.jdom2.xpath.jaxen.JDOMNavigator navigator
Deprecated.The current context for XPath expression evaluation. The navigator is responsible for exposing JDOM content to Jaxen, including the wrapping of Namespace instances in NamespaceContainerBecause 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.
-
-