Serialized Form
-
Package org.jdom
-
Class org.jdom.Attribute extends org.jdom.CloneBase implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
name
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
String value
The value of theAttribute
-
-
Class org.jdom.CDATA extends Text implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.Comment extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
text
String text
Text of theComment
-
-
Class org.jdom.Content extends org.jdom.CloneBase implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
ctype
Content.CType ctype
The content type enumerate value for this Content
-
-
Class org.jdom.DataConversionException extends JDOMException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.DocType extends Content implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.Document extends org.jdom.CloneBase implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Read an Element off the ObjectInputStream.- Throws:
IOException
- if there is a reading problem.ClassNotFoundException
- when a class cannot be found- See Also:
Document.writeObject(ObjectOutputStream)
-
writeObject
private void writeObject(ObjectOutputStream out) throws 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:
IOException
- if there is a writing problem.
-
-
Serialized Fields
-
baseURI
String baseURI
See http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/core.html#baseURIs-Considerations
-
-
Class org.jdom.Element extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
Read an Element off the ObjectInputStream.- Throws:
IOException
- if there is a reading problem.ClassNotFoundException
- when a class cannot be found- See Also:
Element.writeObject(ObjectOutputStream)
-
writeObject
private void writeObject(ObjectOutputStream out) throws 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:
IOException
- if there is a writing problem.
-
-
Serialized Fields
-
Class org.jdom.EntityRef extends Content implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.IllegalAddException extends IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.IllegalDataException extends IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.IllegalNameException extends IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.IllegalTargetException extends IllegalArgumentException implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.JDOMException extends Exception implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.Namespace extends Object implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
readResolve
private Object readResolve() throws InvalidObjectException
Because Namespace is serialized by proxy, the reading of direct Namespace instances is illegal and prohibited.- Throws:
InvalidObjectException
- always
-
writeReplace
private Object writeReplace()
Serializes Namespace by using a proxy serialization instance.- Serial Data:
- The proxy deals with the protocol.
-
-
Class org.jdom.ProcessingInstruction extends Content implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.Text extends Content implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
value
String value
The actual character content
-
-
-
Package org.jdom.filter
-
Class org.jdom.filter.AbstractFilter extends Object implements Serializable
-
Class org.jdom.filter.ContentFilter extends AbstractFilter<E extends Content> implements Serializable
-
Serialized Fields
-
filterMask
int filterMask
The JDOM object mask
-
-
-
Class org.jdom.filter.ElementFilter extends AbstractFilter<Element> implements Serializable
-
Serialization Methods
-
readObject
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
-
writeObject
private void writeObject(ObjectOutputStream out) throws IOException
- Throws:
IOException
-
-
Serialized Fields
-
name
String name
The element name
-
-
-
-
Package org.jdom.filter2
-
Class org.jdom.filter2.AbstractFilter extends Object implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.filter2.AttributeFilter extends AbstractFilter<Attribute> implements Serializable
- serialVersionUID:
- 200L
-
Class org.jdom.filter2.ContentFilter extends AbstractFilter<Content> implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
filterMask
int filterMask
The JDOM object mask
-
-
Class org.jdom.filter2.ElementFilter extends AbstractFilter<Element> implements Serializable
- serialVersionUID:
- 200L
-
-
Package org.jdom.input
-
Class org.jdom.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.jdom.located
-
Class org.jdom.located.LocatedCDATA extends CDATA implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom.located.LocatedComment extends Comment implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom.located.LocatedDocType extends DocType implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom.located.LocatedElement extends Element implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom.located.LocatedEntityRef extends EntityRef implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom.located.LocatedProcessingInstruction extends ProcessingInstruction implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom.located.LocatedText extends Text implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
-
Package org.jdom.transform
-
Class org.jdom.transform.XSLTransformException extends JDOMException implements Serializable
- serialVersionUID:
- 200L
-
-
Package org.jdom.xpath
-
Class org.jdom.xpath.XPath extends Object implements Serializable
- serialVersionUID:
- 200L
-
Serialization Methods
-
writeReplace
protected final Object writeReplace() throws 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:
ObjectStreamException
- never.
-
-
-
Package org.jdom.xpath.jaxen
-
Class org.jdom.xpath.jaxen.JDOMXPath extends XPath implements Serializable
- serialVersionUID:
- 200L
-
Serialized Fields
-
navigator
org.jdom.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.
-
-