| Package | Description |
|---|---|
| org.opensaml.core.xml |
Base classes for working with XML as Java objects and configuring the library.
|
| org.opensaml.core.xml.io |
Interfaces and abstract implementations of marshallers and unmarshallers.
|
| org.opensaml.core.xml.persist |
Components for persisting XMLObjects.
|
| org.opensaml.core.xml.schema |
Interfaces for XMLObjects that represent XML schema types.
|
| org.opensaml.core.xml.schema.impl |
Implementations of the interfaces for XMLObjects that represent XML schema types.
|
| org.opensaml.core.xml.util |
Utility classes for working with XML, XMLObjects, and various data types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractXMLObjectBuilder<XMLObjectType extends XMLObject>
Base implementation for XMLObject builders.
|
interface |
XMLObjectBuilder<XMLObjectType extends XMLObject>
A builder for XMLObjects.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
AttributeExtensibleXMLObject
An interface for XMLObjects that represent DOM elements that support
the XML Schema anyAttribute construct.
|
interface |
ElementExtensibleXMLObject
An XMLObject whose content model contains "any" child elements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractElementExtensibleXMLObject
AbstractElementExtensible is an element of type
xs:any, but without xs:anyAttribute
attribute or text content. |
class |
AbstractExtensibleXMLObject
AbstractExtensibleXMLObject is an element of type
xs:any, and with xs:anyAttribute
attributes. |
class |
AbstractXMLObject
An abstract implementation of XMLObject.
|
| Modifier and Type | Field and Description |
|---|---|
private XMLObject |
NamespaceManager.owner
The owning XMLObject.
|
private XMLObject |
AbstractXMLObject.parent
Parent of this element.
|
| Modifier and Type | Field and Description |
|---|---|
private IndexedXMLObjectChildrenList<XMLObject> |
AbstractElementExtensibleXMLObject.anyXMLObjects
xs:any
XMLObject child elements. |
| Modifier and Type | Method and Description |
|---|---|
<XMLObjectType extends XMLObject> |
XMLObjectBuilderFactory.getBuilderOrThrow(Element domElement)
Retrieves the
XMLObjectBuilder for the given element. |
<XMLObjectType extends XMLObject> |
XMLObjectBuilderFactory.getBuilderOrThrow(QName key)
Retrieves an
XMLObjectBuilder using the key it was registered with, or throws a runtime
error if unable to locate one. |
protected <T extends XMLObject> |
AbstractXMLObject.prepareForAssignment(T oldValue,
T newValue)
A helper function for derived classes, similar to assignString, but for (singleton) XML objects.
|
| Modifier and Type | Method and Description |
|---|---|
XMLObject |
NamespaceManager.getOwner()
Get the owning XMLObject instance.
|
XMLObject |
XMLObject.getParent()
Gets the parent of this element or null if there is no parent.
|
XMLObject |
AbstractXMLObject.getParent()
Gets the parent of this element or null if there is no parent.
|
XMLObject |
XMLObject.resolveID(String id)
Find the XMLObject identified by the specified ID attribute, within the subtree of XMLObjects which has
this XMLObject as its root.
|
XMLObject |
AbstractXMLObject.resolveID(String id)
Find the XMLObject identified by the specified ID attribute, within the subtree of XMLObjects which has
this XMLObject as its root.
|
XMLObject |
XMLObject.resolveIDFromRoot(String id)
Find the XMLObject identified by the specified ID attribute, from the root of the tree of XMLObjects in
which this XMLObject is a member.
|
XMLObject |
AbstractXMLObject.resolveIDFromRoot(String id)
Find the XMLObject identified by the specified ID attribute, from the root of the tree of XMLObjects in
which this XMLObject is a member.
|
| Modifier and Type | Method and Description |
|---|---|
List<XMLObject> |
XMLObject.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
AbstractElementExtensibleXMLObject.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
ElementExtensibleXMLObject.getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
|
List<XMLObject> |
AbstractElementExtensibleXMLObject.getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
|
List<XMLObject> |
ElementExtensibleXMLObject.getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
and which match the specified QName.
|
List<XMLObject> |
AbstractElementExtensibleXMLObject.getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
and which match the specified QName.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractExtensibleXMLObjectMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls the
xs:anyAttribute attributes. |
protected void |
AbstractElementExtensibleXMLObjectMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
No
xs:anyAttribute attributes. |
protected void |
AbstractElementExtensibleXMLObjectMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
No text content.
|
protected void |
AbstractExtensibleXMLObjectUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Unmarshalls the
xs:anyAttribute attributes. |
protected void |
AbstractElementExtensibleXMLObjectUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
No
xs:anyAttribute attribute. |
protected void |
AbstractElementExtensibleXMLObjectUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Unmarshalls all child elements in the
xs:any list. |
protected void |
AbstractElementExtensibleXMLObjectUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
No text content.
|
void |
XMLObject.setParent(XMLObject parent)
Sets the parent of this element.
|
void |
AbstractXMLObject.setParent(XMLObject newParent)
Sets the parent of this element.
|
| Constructor and Description |
|---|
NamespaceManager(XMLObject owningObject)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected XMLObject |
AbstractXMLObjectUnmarshaller.buildXMLObject(Element domElement)
Constructs the XMLObject that the given DOM Element will be unmarshalled into.
|
XMLObject |
Unmarshaller.unmarshall(Element element)
Unmarshalls the given W3C DOM element into a XMLObject.
|
XMLObject |
AbstractXMLObjectUnmarshaller.unmarshall(Element domElement)
Unmarshalls the given W3C DOM element into a XMLObject.
|
| Modifier and Type | Method and Description |
|---|---|
Marshaller |
MarshallerFactory.getMarshaller(XMLObject xmlObject)
Retrieves the marshaller for the given XMLObject.
|
Element |
Marshaller.marshall(XMLObject xmlObject)
Marshall this element, and its children, and root them in a newly created Document.
|
Element |
AbstractXMLObjectMarshaller.marshall(XMLObject xmlObject)
Marshall this element, and its children, and root them in a newly created Document.
|
Element |
Marshaller.marshall(XMLObject xmlObject,
Document document)
Marshall this element, and its children, into a W3C DOM element.
|
Element |
AbstractXMLObjectMarshaller.marshall(XMLObject xmlObject,
Document document)
Marshall this element, and its children, into a W3C DOM element.
|
Element |
Marshaller.marshall(XMLObject xmlObject,
Element parentElement)
Marshall the given XMLObject and append it as a child to the given parent element.
|
Element |
AbstractXMLObjectMarshaller.marshall(XMLObject xmlObject,
Element parentElement)
Marshall the given XMLObject and append it as a child to the given parent element.
|
protected void |
BaseXMLObjectMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
AbstractXMLObjectMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
AbstractXMLObjectMarshaller.marshallChildElements(XMLObject xmlObject,
Element domElement)
Marshalls the child elements of the given XMLObject.
|
protected void |
BaseXMLObjectMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
AbstractXMLObjectMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected Element |
AbstractXMLObjectMarshaller.marshallInto(XMLObject xmlObject,
Element targetElement)
Marshalls the given XMLObject into the given DOM Element.
|
protected void |
AbstractXMLObjectMarshaller.marshallNamespacePrefix(XMLObject xmlObject,
Element domElement)
Marshalls the namespace prefix of the XMLObject into the DOM element.
|
protected void |
AbstractXMLObjectMarshaller.marshallNamespaces(XMLObject xmlObject,
Element domElement)
Creates the xmlns attributes for any namespaces set on the given XMLObject.
|
protected void |
AbstractXMLObjectMarshaller.marshallSchemaInstanceAttributes(XMLObject xmlObject,
Element domElement)
Creates the XSI type, schemaLocation, and noNamespaceSchemaLocation attributes for an XMLObject.
|
private void |
AbstractXMLObjectMarshaller.prepareForAdoption(XMLObject domCachingObject)
Prepares the given DOM caching XMLObject for adoption into another document.
|
protected void |
BaseXMLObjectUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
AbstractXMLObjectUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
BaseXMLObjectUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
AbstractXMLObjectUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
BaseXMLObjectUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
AbstractXMLObjectUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
AbstractXMLObjectUnmarshaller.unmarshallAttribute(XMLObject xmlObject,
Attr attribute)
Unmarshalls the attributes from the given DOM Attr into the given XMLObject.
|
protected void |
AbstractXMLObjectUnmarshaller.unmarshallChildElement(XMLObject xmlObject,
Element childElement)
Unmarshalls given Element's children.
|
protected void |
AbstractXMLObjectUnmarshaller.unmarshallNamespaceAttribute(XMLObject xmlObject,
Attr attribute)
Unmarshalls a namespace declaration attribute.
|
protected void |
AbstractXMLObjectUnmarshaller.unmarshallSchemaInstanceAttributes(XMLObject xmlObject,
Attr attribute)
Unmarshalls the XSI type, schemaLocation, and noNamespaceSchemaLocation attributes.
|
protected void |
AbstractXMLObjectUnmarshaller.unmarshallTextContent(XMLObject xmlObject,
Text content)
Unmarshalls the given Text node into a usable string by way of
Text.getWholeText() and passes it off to
AbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String) if the string is not null and
contains something other than whitespace. |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractConditionalLoadXMLObjectLoadSaveManager<T extends XMLObject>
Abstract base class for
XMLObjectLoadSaveManager implementations which
track the modify times of requested data such that XMLObjectLoadSaveManager.load(String) returns
data only if the data associated with the key has been modified since the last
request. |
interface |
ConditionalLoadXMLObjectLoadSaveManager<T extends XMLObject>
Interface for specialization of
XMLObjectLoadSaveManager implementations which
track the modify times of requested data such that XMLObjectLoadSaveManager.load(String) returns
data only if the data associated with the key has been modified since the last
request. |
class |
FilesystemLoadSaveManager<T extends XMLObject>
Implementation of
XMLObjectLoadSaveManager which uses a local filesystem to load and store serialized XML. |
class |
MapLoadSaveManager<T extends XMLObject>
Simple implementation of
XMLObjectLoadSaveManager which uses an in-memory map. |
interface |
XMLObjectLoadSaveManager<T extends XMLObject>
Interface for a component which is capable of loading and saving instances of
XMLObject,
based on a string key. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
XSAny
Represents the schema Any type.
|
interface |
XSBase64Binary
XMLObject that represents an XML Schema base64Binary.
|
interface |
XSBoolean
XSBoolean is the
xs:boolean schema type. |
interface |
XSDateTime
XMLObject that represents an XML Schema dateTime.
|
interface |
XSInteger
XMLObject that represents an XML Schema Integer.
|
interface |
XSQName
XMLObject that represents an XML schema QName content bearing element.
|
interface |
XSString
XMLObject that represents an XML Schema String.
|
interface |
XSURI
XMLObject that represents an XML schema URI content bearing element.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XSAnyImpl
Concrete implementation of
XSAny. |
class |
XSBase64BinaryImpl
Concrete implementation of
XSBase64Binary. |
class |
XSBooleanImpl
Concrete implementation of
XSBoolean. |
class |
XSDateTimeImpl
Concrete implementation of
XSDateTime. |
class |
XSIntegerImpl
Concrete implementation of
XSInteger. |
class |
XSQNameImpl
Concrete implementation of
XSQName. |
class |
XSStringImpl
Concrete implementation of
XSString. |
class |
XSURIImpl
Conrete implementation of
XSURI. |
| Modifier and Type | Field and Description |
|---|---|
private IndexedXMLObjectChildrenList<XMLObject> |
XSAnyImpl.unknownXMLObjects
Child XMLObjects.
|
| Modifier and Type | Method and Description |
|---|---|
List<XMLObject> |
XSURIImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSDateTimeImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSStringImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSQNameImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSIntegerImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSBooleanImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSBase64BinaryImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSAnyImpl.getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
List<XMLObject> |
XSAnyImpl.getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
|
List<XMLObject> |
XSAnyImpl.getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
and which match the specified QName.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XSURIMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
XSStringMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
XSQNameMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
XSIntegerMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
XSBooleanMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
XSBase64BinaryMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
XSAnyMarshaller.marshallAttributes(XMLObject xmlObject,
Element domElement)
Marshalls a given XMLObject into a W3C Element.
|
protected void |
XSURIMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSStringMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSQNameMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSIntegerMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSDateTimeMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSBooleanMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSBase64BinaryMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSAnyMarshaller.marshallElementContent(XMLObject xmlObject,
Element domElement)
Marshalls data from the XMLObject into content of the DOM Element.
|
protected void |
XSURIUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
XSStringUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
XSQNameUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
XSIntegerUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
XSBooleanUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
XSBase64BinaryUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
XSAnyUnmarshaller.processAttribute(XMLObject xmlObject,
Attr attribute)
Called after an attribute has been unmarshalled so that it can be added to the XMLObject.
|
protected void |
XSURIUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
XSStringUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
XSQNameUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
XSIntegerUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
XSBooleanUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
XSBase64BinaryUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
XSAnyUnmarshaller.processChildElement(XMLObject parentXMLObject,
XMLObject childXMLObject)
Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.
|
protected void |
XSURIUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSStringUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSQNameUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSIntegerUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSDateTimeUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSBooleanUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSBase64BinaryUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSAnyUnmarshaller.processElementContent(XMLObject xmlObject,
String elementContent)
Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.
|
protected void |
XSQNameUnmarshaller.unmarshallTextContent(XMLObject xmlObject,
Text content)
Unmarshalls the given Text node into a usable string by way of
Text.getWholeText() and passes it off to
AbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String) if the string is not null and
contains something other than whitespace. |
| Modifier and Type | Class and Description |
|---|---|
class |
IndexedXMLObjectChildrenList<ElementType extends XMLObject>
A list which indexes XMLObjects by their schema type and element QName for quick retrival based on those items.
|
(package private) class |
ListView<ElementType extends XMLObject>
A special list that works as a view of an IndexedXMLObjectChildrenList showing only the sublist associated with a
given index.
|
class |
XMLObjectChildrenList<ElementType extends XMLObject>
Resizable list for the children of XMLObjects.
|
| Modifier and Type | Field and Description |
|---|---|
private XMLObject |
AttributeMap.attributeOwner
XMLObject owning the attributes.
|
private XMLObject |
IDIndex.owner
The XMLObject which owns this ID index.
|
private XMLObject |
XMLObjectChildrenList.parent
Parent to the elements in this list.
|
| Modifier and Type | Field and Description |
|---|---|
private Map<String,XMLObject> |
IDIndex.idMappings
Mapping of ID attributes to XMLObjects in the subtree rooted at this object's owner.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends XMLObject> |
XMLObjectSupport.cloneXMLObject(T originalXMLObject)
Clone an XMLObject by brute force:
|
static <T extends XMLObject> |
XMLObjectSupport.cloneXMLObject(T originalXMLObject,
boolean rootInNewDocument)
Deprecated.
|
static <T extends XMLObject> |
XMLObjectSupport.cloneXMLObject(T originalXMLObject,
XMLObjectSupport.CloneOutputOption cloneOutputOption)
Clone an XMLObject by brute force:
|
| Modifier and Type | Method and Description |
|---|---|
static XMLObject |
XMLObjectSupport.buildXMLObject(QName elementName)
Build an XMLObject based on the element name.
|
static XMLObject |
XMLObjectSupport.buildXMLObject(QName elementName,
QName typeName)
Build an XMLObject based on the element nane and xsi:type.
|
XMLObject |
IDIndex.lookup(String id)
Lookup and return the XMLObject identified by the specified ID attribute.
|
static XMLObject |
XMLObjectSupport.unmarshallFromInputStream(net.shibboleth.utilities.java.support.xml.ParserPool parserPool,
InputStream inputStream)
Unmarshall a Document from an InputSteam.
|
static XMLObject |
XMLObjectSupport.unmarshallFromReader(net.shibboleth.utilities.java.support.xml.ParserPool parserPool,
Reader reader)
Unmarshall a Document from a Reader.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,XMLObject> |
IDIndex.getIDMappings()
Get the ID-to-XMLObject mappings for this object's owner's children.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
XMLAttributeSupport.addXMLBase(XMLObject xmlObject,
String base)
Adds a
xml:base attribute to the given XML object. |
static void |
XMLAttributeSupport.addXMLId(XMLObject xmlObject,
String id)
Adds a
xml:id attribute to the given XML object. |
static void |
XMLAttributeSupport.addXMLLang(XMLObject xmlObject,
String lang)
Adds a
xml:lang attribute to the given XML object. |
static void |
XMLAttributeSupport.addXMLSpace(XMLObject xmlObject,
SpaceBearing.XMLSpaceEnum space)
Adds a
xml:space attribute to the given XML object. |
static Marshaller |
XMLObjectSupport.getMarshaller(XMLObject xmlObject)
Obtain an XMLObject marshaller for the given XMLObject.
|
static String |
XMLAttributeSupport.getXMLBase(XMLObject xmlObject)
Gets the
xml:base attribute from a given XML object. |
static String |
XMLAttributeSupport.getXMLId(XMLObject xmlObject)
Gets the
xml:id attribute from a given XML object. |
static String |
XMLAttributeSupport.getXMLLang(XMLObject xmlObject)
Gets the
xml:lang attribute from a given XML object. |
static SpaceBearing.XMLSpaceEnum |
XMLAttributeSupport.getXMLSpace(XMLObject xmlObject)
Gets the
xml:space attribute from a given XML object. |
static String |
XMLObjectSupport.lookupNamespacePrefix(XMLObject xmlObject,
String namespaceURI)
Get the prefix bound to the specified namespace URI within the scope of the specified
XMLObject.
|
static String |
XMLObjectSupport.lookupNamespaceURI(XMLObject xmlObject,
String prefix)
Get the namespace URI bound to the specified prefix within the scope of the specified
XMLObject.
|
static Element |
XMLObjectSupport.marshall(XMLObject xmlObject)
Marshall an XMLObject.
|
static void |
XMLObjectSupport.marshallToOutputStream(XMLObject xmlObject,
OutputStream outputStream)
Marshall an XMLObject to an OutputStream.
|
void |
IDIndex.registerIDMapping(String id,
XMLObject referent)
Register an ID-to-XMLObject mapping for one of this object's owner's children.
|
| Constructor and Description |
|---|
AttributeMap(XMLObject newOwner)
Constructor.
|
IDIndex(XMLObject newOwner)
Constructor.
|
IndexedXMLObjectChildrenList(XMLObject parent)
Constructor.
|
IndexedXMLObjectChildrenList(XMLObject parent,
Collection<ElementType> col)
Constructor.
|
XMLObjectChildrenList(XMLObject newParent)
Constructs an empty list with all added XMLObjects being assigned the given parent XMLObject.
|
XMLObjectChildrenList(XMLObject newParent,
Collection<ElementType> newElements)
Constructs a list containing the elements in the specified collection, in the order they are returned by the
collection's iterator, with each added XMLObject assigned the given parent XMLObject.
|
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.