Package org.opensaml.core.xml.util
Class XMLObjectSource
java.lang.Object
org.opensaml.core.xml.util.XMLObjectSource
A bean class which can be optionally used to represent the original
source byte[] from which an
XMLObject was parsed and unmarshalled.
It will typically be attached to an XML object via its
XMLObject.getObjectMetadata().
This may be optionally used by some components to re-persist the object in a more performant manner, at the expense of carrying the additional in-memory storage.
If present, it will be removed from the object when the object is
mutated. See AbstractXMLObject.releaseDOM(), which is invoked by
the various overloaded prepareForAssignment methods there.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
source
The object source byte[].
-
-
Constructor Details
-
XMLObjectSource
Constructor.- Parameters:
objectSource- the object source byte[]
-
-
Method Details