Serialized Form
-
Package org.jdom2
-
Class org.jdom2.Attribute
class Attribute extends org.jdom2.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.jdom2.CDATA
class CDATA extends Text implements Serializable- serialVersionUID:
- 200L
-
Class org.jdom2.Comment
class Comment extends Content implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
text
String text
Text of theComment
-
-
Class org.jdom2.Content
class Content extends org.jdom2.CloneBase implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
ctype
Content.CType ctype
The content type enumerate value for this Content
-
-
Exception org.jdom2.DataConversionException
class DataConversionException extends JDOMException implements Serializable- serialVersionUID:
- 200L
-
Class org.jdom2.DocType
class DocType extends Content implements Serializable- serialVersionUID:
- 200L
-
Class org.jdom2.Document
class Document extends org.jdom2.CloneBase implements Serializable- serialVersionUID:
- 200L
-
Serialization Methods
-
readObject
Read an Element off the ObjectInputStream.- Parameters:
in
- where to read the Element from.- Throws:
IOException
- if there is a reading problem.ClassNotFoundException
- when a class cannot be found- See Also:
-
Document.writeObject(ObjectOutputStream)
-
writeObject
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.
- Parameters:
out
- where to write the Element to.- 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.jdom2.Element
class Element extends Content implements Serializable- serialVersionUID:
- 200L
-
Serialization Methods
-
readObject
Read an Element off the ObjectInputStream.- Parameters:
in
- where to read the Element from.- Throws:
IOException
- if there is a reading problem.ClassNotFoundException
- when a class cannot be found- See Also:
-
Element.writeObject(ObjectOutputStream)
-
writeObject
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.
- Parameters:
out
- where to write the Element to.- Throws:
IOException
- if there is a writing problem.
-
-
Serialized Fields
-
Class org.jdom2.EntityRef
class EntityRef extends Content implements Serializable- serialVersionUID:
- 200L
-
Exception org.jdom2.IllegalAddException
class IllegalAddException extends IllegalArgumentException implements Serializable- serialVersionUID:
- 200L
-
Exception org.jdom2.IllegalDataException
class IllegalDataException extends IllegalArgumentException implements Serializable- serialVersionUID:
- 200L
-
Exception org.jdom2.IllegalNameException
class IllegalNameException extends IllegalArgumentException implements Serializable- serialVersionUID:
- 200L
-
Exception org.jdom2.IllegalTargetException
class IllegalTargetException extends IllegalArgumentException implements Serializable- serialVersionUID:
- 200L
-
Exception org.jdom2.JDOMException
class JDOMException extends Exception implements Serializable- serialVersionUID:
- 200L
-
Class org.jdom2.Namespace
class Namespace extends Object implements Serializable- serialVersionUID:
- 200L
-
Serialization Methods
-
readResolve
Because Namespace is serialized by proxy, the reading of direct Namespace instances is illegal and prohibited.- Throws:
InvalidObjectException
- always
-
writeReplace
Serializes Namespace by using a proxy serialization instance.- Serial Data:
- The proxy deals with the protocol.
-
-
Class org.jdom2.ProcessingInstruction
class ProcessingInstruction extends Content implements Serializable- serialVersionUID:
- 200L
-
Class org.jdom2.Text
class Text extends Content implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
value
String value
The actual character content
-
-
-
Package org.jdom2.filter
-
Class org.jdom2.filter.AbstractFilter
class AbstractFilter extends Object implements Serializable- serialVersionUID:
- 200L
-
Class org.jdom2.filter.AttributeFilter
- serialVersionUID:
- 200L
-
Class org.jdom2.filter.ContentFilter
- serialVersionUID:
- 200L
-
Serialized Fields
-
filterMask
int filterMask
The JDOM object mask
-
-
Class org.jdom2.filter.ElementFilter
- serialVersionUID:
- 200L
-
-
Package org.jdom2.input
-
Exception org.jdom2.input.JDOMParseException
class 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
class LocatedCDATA extends CDATA implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedComment
class LocatedComment extends Comment implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedDocType
class LocatedDocType extends DocType implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedElement
class LocatedElement extends Element implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedEntityRef
class LocatedEntityRef extends EntityRef implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedProcessingInstruction
class LocatedProcessingInstruction extends ProcessingInstruction implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
Class org.jdom2.located.LocatedText
class LocatedText extends Text implements Serializable- serialVersionUID:
- 200L
-
Serialized Fields
-
col
int col
-
line
int line
-
-
-
Package org.jdom2.transform
-
Exception org.jdom2.transform.XSLTransformException
class XSLTransformException extends JDOMException implements Serializable- serialVersionUID:
- 200L
-
-
Package org.jdom2.xpath
-
Class org.jdom2.xpath.XPath
class XPath extends Object implements Serializable- serialVersionUID:
- 200L
-
Serialization Methods
-
writeReplace
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.jdom2.xpath.jaxen
-
Class org.jdom2.xpath.jaxen.JDOMXPath
class 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.
-
-