Uses of Interface
org.opensaml.core.xml.XMLObject
-
Packages that use XMLObject 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. -
-
Uses of XMLObject in org.opensaml.core.xml
Classes in org.opensaml.core.xml with type parameters of type XMLObject Modifier and Type Class Description classAbstractXMLObjectBuilder<XMLObjectType extends XMLObject>Base implementation for XMLObject builders.interfaceXMLObjectBuilder<XMLObjectType extends XMLObject>A builder for XMLObjects.Subinterfaces of XMLObject in org.opensaml.core.xml Modifier and Type Interface Description interfaceAttributeExtensibleXMLObjectAn interface for XMLObjects that represent DOM elements that support the XML Schema anyAttribute construct.interfaceElementExtensibleXMLObjectAn XMLObject whose content model contains "any" child elements.Classes in org.opensaml.core.xml that implement XMLObject Modifier and Type Class Description classAbstractElementExtensibleXMLObjectAbstractElementExtensible is an element of typexs:any, but withoutxs:anyAttributeattribute or text content.classAbstractExtensibleXMLObjectAbstractExtensibleXMLObject is an element of typexs:any, and withxs:anyAttributeattributes.classAbstractXMLObjectAn abstract implementation of XMLObject.Fields in org.opensaml.core.xml declared as XMLObject Modifier and Type Field Description private XMLObjectNamespaceManager. ownerThe owning XMLObject.private XMLObjectAbstractXMLObject. parentParent of this element.Fields in org.opensaml.core.xml with type parameters of type XMLObject Modifier and Type Field Description private IndexedXMLObjectChildrenList<XMLObject>AbstractElementExtensibleXMLObject. anyXMLObjectsxs:anyXMLObjectchild elements.Methods in org.opensaml.core.xml with type parameters of type XMLObject Modifier and Type Method Description <XMLObjectType extends XMLObject>
XMLObjectBuilder<XMLObjectType>XMLObjectBuilderFactory. getBuilderOrThrow(QName key)Retrieves anXMLObjectBuilderusing the key it was registered with, or throws a runtime error if unable to locate one.<XMLObjectType extends XMLObject>
XMLObjectBuilder<XMLObjectType>XMLObjectBuilderFactory. getBuilderOrThrow(Element domElement)Retrieves theXMLObjectBuilderfor the given element.protected <T extends XMLObject>
TAbstractXMLObject. prepareForAssignment(T oldValue, T newValue)A helper function for derived classes, similar to assignString, but for (singleton) XML objects.Methods in org.opensaml.core.xml that return XMLObject Modifier and Type Method Description XMLObjectNamespaceManager. getOwner()Get the owning XMLObject instance.XMLObjectAbstractXMLObject. getParent()Gets the parent of this element or null if there is no parent.XMLObjectXMLObject. getParent()Gets the parent of this element or null if there is no parent.XMLObjectAbstractXMLObject. resolveID(String id)Find the XMLObject identified by the specified ID attribute, within the subtree of XMLObjects which has this XMLObject as its root.XMLObjectXMLObject. resolveID(String id)Find the XMLObject identified by the specified ID attribute, within the subtree of XMLObjects which has this XMLObject as its root.XMLObjectAbstractXMLObject. 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.XMLObjectXMLObject. 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.Methods in org.opensaml.core.xml that return types with arguments of type XMLObject Modifier and Type Method Description List<XMLObject>AbstractElementExtensibleXMLObject. getOrderedChildren()Gets an unmodifiable list of child elements in the order that they will appear in the DOM.List<XMLObject>XMLObject. getOrderedChildren()Gets an unmodifiable list of child elements in the order that they will appear in the DOM.List<XMLObject>AbstractElementExtensibleXMLObject. getUnknownXMLObjects()Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.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.List<XMLObject>ElementExtensibleXMLObject. 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.Methods in org.opensaml.core.xml with parameters of type XMLObject Modifier and Type Method Description protected voidAbstractExtensibleXMLObjectMarshaller. marshallAttributeIDness(XMLObject xmlObject, Element domElement)Marshalls the IDness of the ID attribute present on the element, if any.protected voidAbstractElementExtensibleXMLObjectMarshaller. marshallAttributes(XMLObject xmlObject, Element domElement)Noxs:anyAttributeattributes.protected voidAbstractExtensibleXMLObjectMarshaller. marshallAttributes(XMLObject xmlObject, Element domElement)Marshalls thexs:anyAttributeattributes.protected voidAbstractElementExtensibleXMLObjectMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)No text content.protected voidAbstractElementExtensibleXMLObjectUnmarshaller. processAttribute(XMLObject xmlObject, Attr attribute)Noxs:anyAttributeattribute.protected voidAbstractExtensibleXMLObjectUnmarshaller. processAttribute(XMLObject xmlObject, Attr attribute)Unmarshalls thexs:anyAttributeattributes.protected voidAbstractElementExtensibleXMLObjectUnmarshaller. processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)Unmarshalls all child elements in thexs:anylist.protected voidAbstractElementExtensibleXMLObjectUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)No text content.voidAbstractXMLObject. setParent(XMLObject newParent)Sets the parent of this element.voidXMLObject. setParent(XMLObject parent)Sets the parent of this element.Constructors in org.opensaml.core.xml with parameters of type XMLObject Constructor Description NamespaceManager(XMLObject owningObject)Constructor. -
Uses of XMLObject in org.opensaml.core.xml.io
Methods in org.opensaml.core.xml.io that return XMLObject Modifier and Type Method Description protected XMLObjectAbstractXMLObjectUnmarshaller. buildXMLObject(Element domElement)Constructs the XMLObject that the given DOM Element will be unmarshalled into.XMLObjectAbstractXMLObjectUnmarshaller. unmarshall(Element domElement)Unmarshalls the given W3C DOM element into a XMLObject.XMLObjectUnmarshaller. unmarshall(Element element)Unmarshalls the given W3C DOM element into a XMLObject.Methods in org.opensaml.core.xml.io with parameters of type XMLObject Modifier and Type Method Description MarshallerMarshallerFactory. getMarshaller(XMLObject xmlObject)Retrieves the marshaller for the given XMLObject.ElementAbstractXMLObjectMarshaller. marshall(XMLObject xmlObject)Marshall this element, and its children, and root them in a newly created Document.ElementAbstractXMLObjectMarshaller. marshall(XMLObject xmlObject, Document document)Marshall this element, and its children, into a W3C DOM element.ElementAbstractXMLObjectMarshaller. marshall(XMLObject xmlObject, Element parentElement)Marshall the given XMLObject and append it as a child to the given parent element.ElementMarshaller. marshall(XMLObject xmlObject)Marshall this element, and its children, and root them in a newly created Document.ElementMarshaller. marshall(XMLObject xmlObject, Document document)Marshall this element, and its children, into a W3C DOM element.ElementMarshaller. marshall(XMLObject xmlObject, Element parentElement)Marshall the given XMLObject and append it as a child to the given parent element.protected voidAbstractXMLObjectMarshaller. marshallAttributeIDness(XMLObject xmlObject, Element domElement)Marshalls the IDness of the ID attribute present on the element, if any.protected voidAbstractXMLObjectMarshaller. marshallAttributes(XMLObject xmlObject, Element domElement)Marshalls a given XMLObject into a W3C Element.protected voidAbstractXMLObjectMarshaller. marshallChildElements(XMLObject xmlObject, Element domElement)Marshalls the child elements of the given XMLObject.protected voidAbstractXMLObjectMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected ElementAbstractXMLObjectMarshaller. marshallInto(XMLObject xmlObject, Element targetElement)Marshalls the given XMLObject into the given DOM Element.protected voidAbstractXMLObjectMarshaller. marshallNamespacePrefix(XMLObject xmlObject, Element domElement)Marshalls the namespace prefix of the XMLObject into the DOM element.protected voidAbstractXMLObjectMarshaller. marshallNamespaces(XMLObject xmlObject, Element domElement)Creates the xmlns attributes for any namespaces set on the given XMLObject.protected voidAbstractXMLObjectMarshaller. marshallSchemaInstanceAttributes(XMLObject xmlObject, Element domElement)Creates the XSI type, schemaLocation, and noNamespaceSchemaLocation attributes for an XMLObject.private voidAbstractXMLObjectMarshaller. prepareForAdoption(XMLObject domCachingObject)Prepares the given DOM caching XMLObject for adoption into another document.protected voidAbstractXMLObjectUnmarshaller. processAttribute(XMLObject xmlObject, Attr attribute)Called after an attribute has been unmarshalled so that it can be added to the XMLObject.protected voidAbstractXMLObjectUnmarshaller. processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.protected voidAbstractXMLObjectUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidAbstractXMLObjectUnmarshaller. unmarshallAttribute(XMLObject xmlObject, Attr attribute)Unmarshalls the attributes from the given DOM Attr into the given XMLObject.protected voidAbstractXMLObjectUnmarshaller. unmarshallChildElement(XMLObject xmlObject, Element childElement)Unmarshalls given Element's children.protected voidAbstractXMLObjectUnmarshaller. unmarshallNamespaceAttribute(XMLObject xmlObject, Attr attribute)Unmarshalls a namespace declaration attribute.protected voidAbstractXMLObjectUnmarshaller. unmarshallSchemaInstanceAttributes(XMLObject xmlObject, Attr attribute)Unmarshalls the XSI type, schemaLocation, and noNamespaceSchemaLocation attributes.protected voidAbstractXMLObjectUnmarshaller. unmarshallTextContent(XMLObject xmlObject, Text content)Unmarshalls the given Text node into a usable string by way ofCharacterData.getData()and passes it off toAbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String)if the string is not null and contains something other than whitespace. -
Uses of XMLObject in org.opensaml.core.xml.persist
Classes in org.opensaml.core.xml.persist with type parameters of type XMLObject Modifier and Type Class Description classAbstractConditionalLoadXMLObjectLoadSaveManager<T extends XMLObject>Abstract base class forXMLObjectLoadSaveManagerimplementations which track the modify times of requested data such thatXMLObjectLoadSaveManager.load(String)returns data only if the data associated with the key has been modified since the last request.interfaceConditionalLoadXMLObjectLoadSaveManager<T extends XMLObject>Interface for specialization ofXMLObjectLoadSaveManagerimplementations which track the modify times of requested data such thatXMLObjectLoadSaveManager.load(String)returns data only if the data associated with the key has been modified since the last request.classFilesystemLoadSaveManager<T extends XMLObject>Implementation ofXMLObjectLoadSaveManagerwhich uses a local filesystem to load and store serialized XML.classMapLoadSaveManager<T extends XMLObject>Simple implementation ofXMLObjectLoadSaveManagerwhich uses an in-memory map.interfaceXMLObjectLoadSaveManager<T extends XMLObject>Interface for a component which is capable of loading and saving instances ofXMLObject, based on a string key. -
Uses of XMLObject in org.opensaml.core.xml.schema
Subinterfaces of XMLObject in org.opensaml.core.xml.schema Modifier and Type Interface Description interfaceXSAnyRepresents the schema Any type.interfaceXSBase64BinaryXMLObject that represents an XML Schema base64Binary.interfaceXSBooleanXSBoolean is thexs:booleanschema type.interfaceXSDateTimeXMLObject that represents an XML Schema dateTime.interfaceXSIntegerXMLObject that represents an XML Schema Integer.interfaceXSQNameXMLObject that represents an XML schema QName content bearing element.interfaceXSStringXMLObject that represents an XML Schema String.interfaceXSURIXMLObject that represents an XML schema URI content bearing element. -
Uses of XMLObject in org.opensaml.core.xml.schema.impl
Classes in org.opensaml.core.xml.schema.impl that implement XMLObject Modifier and Type Class Description classXSAnyImplConcrete implementation ofXSAny.classXSBase64BinaryImplConcrete implementation ofXSBase64Binary.classXSBooleanImplConcrete implementation ofXSBoolean.classXSDateTimeImplConcrete implementation ofXSDateTime.classXSIntegerImplConcrete implementation ofXSInteger.classXSQNameImplConcrete implementation ofXSQName.classXSStringImplConcrete implementation ofXSString.classXSURIImplConrete implementation ofXSURI.Fields in org.opensaml.core.xml.schema.impl with type parameters of type XMLObject Modifier and Type Field Description private IndexedXMLObjectChildrenList<XMLObject>XSAnyImpl. unknownXMLObjectsChild XMLObjects.Methods in org.opensaml.core.xml.schema.impl that return types with arguments of type XMLObject Modifier and Type Method Description List<XMLObject>XSAnyImpl. 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>XSBooleanImpl. 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>XSIntegerImpl. 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>XSStringImpl. getOrderedChildren()Gets an unmodifiable list of child elements in the order that they will appear in the DOM.List<XMLObject>XSURIImpl. 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.Methods in org.opensaml.core.xml.schema.impl with parameters of type XMLObject Modifier and Type Method Description protected voidXSAnyMarshaller. marshallAttributes(XMLObject xmlObject, Element domElement)Marshalls a given XMLObject into a W3C Element.protected voidXSAnyMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSBase64BinaryMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSBooleanMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSDateTimeMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSIntegerMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSQNameMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSStringMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSURIMarshaller. marshallElementContent(XMLObject xmlObject, Element domElement)Marshalls data from the XMLObject into content of the DOM Element.protected voidXSAnyUnmarshaller. processAttribute(XMLObject xmlObject, Attr attribute)Called after an attribute has been unmarshalled so that it can be added to the XMLObject.protected voidXSAnyUnmarshaller. processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.protected voidXSQNameUnmarshaller. processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)Called after a child element has been unmarshalled so that it can be added to the parent XMLObject.protected voidXSAnyUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidXSBase64BinaryUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidXSBooleanUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidXSDateTimeUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidXSIntegerUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidXSStringUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidXSURIUnmarshaller. processElementContent(XMLObject xmlObject, String elementContent)Called if the element being unmarshalled contained textual content so that it can be added to the XMLObject.protected voidXSQNameUnmarshaller. unmarshallTextContent(XMLObject xmlObject, Text content)Unmarshalls the given Text node into a usable string by way ofCharacterData.getData()and passes it off toAbstractXMLObjectUnmarshaller.processElementContent(XMLObject, String)if the string is not null and contains something other than whitespace. -
Uses of XMLObject in org.opensaml.core.xml.util
Classes in org.opensaml.core.xml.util with type parameters of type XMLObject Modifier and Type Class Description classIndexedXMLObjectChildrenList<ElementType extends XMLObject>A list which indexes XMLObjects by their schema type and element QName for quick retrival based on those items.(package private) classListView<ElementType extends XMLObject>A special list that works as a view of an IndexedXMLObjectChildrenList showing only the sublist associated with a given index.classXMLObjectChildrenList<ElementType extends XMLObject>Resizable list for the children of XMLObjects.Fields in org.opensaml.core.xml.util declared as XMLObject Modifier and Type Field Description private XMLObjectAttributeMap. attributeOwnerXMLObject owning the attributes.private XMLObjectIDIndex. ownerThe XMLObject which owns this ID index.private XMLObjectXMLObjectChildrenList. parentParent to the elements in this list.Fields in org.opensaml.core.xml.util with type parameters of type XMLObject Modifier and Type Field Description private Map<String,XMLObject>IDIndex. idMappingsMapping of ID attributes to XMLObjects in the subtree rooted at this object's owner.Methods in org.opensaml.core.xml.util with type parameters of type XMLObject Modifier and Type Method Description static <T extends XMLObject>
TXMLObjectSupport. cloneXMLObject(T originalXMLObject)Clone an XMLObject by brute force:static <T extends XMLObject>
TXMLObjectSupport. cloneXMLObject(T originalXMLObject, XMLObjectSupport.CloneOutputOption cloneOutputOption)Clone an XMLObject by brute force:Methods in org.opensaml.core.xml.util that return XMLObject Modifier and Type Method Description static XMLObjectXMLObjectSupport. buildXMLObject(QName elementName)Build an XMLObject based on the element name.static XMLObjectXMLObjectSupport. buildXMLObject(QName elementName, QName typeName)Build an XMLObject based on the element nane and xsi:type.XMLObjectIDIndex. lookup(String id)Lookup and return the XMLObject identified by the specified ID attribute.static XMLObjectXMLObjectSupport. unmarshallFromInputStream(ParserPool parserPool, InputStream inputStream)Unmarshall a Document from an InputSteam.static XMLObjectXMLObjectSupport. unmarshallFromReader(ParserPool parserPool, Reader reader)Unmarshall a Document from a Reader.Methods in org.opensaml.core.xml.util that return types with arguments of type XMLObject Modifier and Type Method Description protected Map<String,XMLObject>IDIndex. getIDMappings()Get the ID-to-XMLObject mappings for this object's owner's children.Methods in org.opensaml.core.xml.util with parameters of type XMLObject Modifier and Type Method Description static voidXMLAttributeSupport. addXMLBase(XMLObject xmlObject, String base)Adds axml:baseattribute to the given XML object.static voidXMLAttributeSupport. addXMLId(XMLObject xmlObject, String id)Adds axml:idattribute to the given XML object.static voidXMLAttributeSupport. addXMLLang(XMLObject xmlObject, String lang)Adds axml:langattribute to the given XML object.static voidXMLAttributeSupport. addXMLSpace(XMLObject xmlObject, SpaceBearing.XMLSpaceEnum space)Adds axml:spaceattribute to the given XML object.static MarshallerXMLObjectSupport. getMarshaller(XMLObject xmlObject)Obtain an XMLObject marshaller for the given XMLObject.static StringXMLAttributeSupport. getXMLBase(XMLObject xmlObject)Gets thexml:baseattribute from a given XML object.static StringXMLAttributeSupport. getXMLId(XMLObject xmlObject)Gets thexml:idattribute from a given XML object.static StringXMLAttributeSupport. getXMLLang(XMLObject xmlObject)Gets thexml:langattribute from a given XML object.static SpaceBearing.XMLSpaceEnumXMLAttributeSupport. getXMLSpace(XMLObject xmlObject)Gets thexml:spaceattribute from a given XML object.static StringXMLObjectSupport. lookupNamespacePrefix(XMLObject xmlObject, String namespaceURI)Get the prefix bound to the specified namespace URI within the scope of the specified XMLObject.static StringXMLObjectSupport. lookupNamespaceURI(XMLObject xmlObject, String prefix)Get the namespace URI bound to the specified prefix within the scope of the specified XMLObject.static ElementXMLObjectSupport. marshall(XMLObject xmlObject)Marshall an XMLObject.static voidXMLObjectSupport. marshallToOutputStream(XMLObject xmlObject, OutputStream outputStream)Marshall an XMLObject to an OutputStream.voidIDIndex. registerIDMapping(String id, XMLObject referent)Register an ID-to-XMLObject mapping for one of this object's owner's children.Constructors in org.opensaml.core.xml.util with parameters of type XMLObject Constructor 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.
-