org.openliberty.xmltooling.epr
Class Metadata

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.openliberty.xmltooling.epr.Metadata
All Implemented Interfaces:
org.opensaml.xml.ElementExtensibleXMLObject, org.opensaml.xml.signature.SignableXMLObject, org.opensaml.xml.XMLObject

public class Metadata
extends org.opensaml.xml.signature.AbstractSignableXMLObject
implements org.opensaml.xml.ElementExtensibleXMLObject


Field Summary
private  MetadataAbstract abstrakt
           
private  org.opensaml.xml.util.XMLObjectChildrenList<Action> actions
           
private  org.opensaml.xml.util.XMLObjectChildrenList<Framework> frameworks
           
static java.lang.String LOCAL_NAME
           
private  Options options
           
private  ProviderID providerID
           
private  org.opensaml.xml.util.XMLObjectChildrenList<SecurityContext> securityContexts
           
private  org.opensaml.xml.util.XMLObjectChildrenList<ServiceType> serviceTypes
           
private  org.opensaml.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xml.XMLObject> unknownXMLObjects
           
 
Constructor Summary
protected Metadata(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
Method Summary
 org.opensaml.xml.util.XMLObjectChildrenList<Action> getActions()
           
 org.opensaml.xml.util.XMLObjectChildrenList<Framework> getFrameworks()
          One or more <Framework> elements MUST be present in the EPR <Metadata> element.
 MetadataAbstract getMetadataAbstract()
           
 Options getOptions()
           
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
           
 ProviderID getProviderID()
           
 org.opensaml.xml.util.XMLObjectChildrenList<SecurityContext> getSecurityContexts()
           
 java.util.List<ServiceType> getServiceTypes()
          One or more <ServiceType> elements MUST be present in the EPR <Metadata> element.
 java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()
           
 java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(javax.xml.namespace.QName typeOrName)
           
 boolean referencesServiceTypeURN(java.lang.String urn)
          If the EPR holds a reference to the URN specified, then this method returns true.
 void setMetadataAbstract(MetadataAbstract abstrakt)
           
 void setOptions(Options options)
           
 void setProviderID(ProviderID providerID)
           
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

LOCAL_NAME

public static final java.lang.String LOCAL_NAME
See Also:
Constant Field Values

abstrakt

private MetadataAbstract abstrakt

providerID

private ProviderID providerID

serviceTypes

private org.opensaml.xml.util.XMLObjectChildrenList<ServiceType> serviceTypes

frameworks

private org.opensaml.xml.util.XMLObjectChildrenList<Framework> frameworks

actions

private org.opensaml.xml.util.XMLObjectChildrenList<Action> actions

options

private Options options

securityContexts

private org.opensaml.xml.util.XMLObjectChildrenList<SecurityContext> securityContexts

unknownXMLObjects

private org.opensaml.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xml.XMLObject> unknownXMLObjects
Constructor Detail

Metadata

protected Metadata(java.lang.String namespaceURI,
                   java.lang.String elementLocalName,
                   java.lang.String namespacePrefix)
Method Detail

setMetadataAbstract

public void setMetadataAbstract(MetadataAbstract abstrakt)

getMetadataAbstract

public MetadataAbstract getMetadataAbstract()

getProviderID

public ProviderID getProviderID()

setProviderID

public void setProviderID(ProviderID providerID)

getServiceTypes

public java.util.List<ServiceType> getServiceTypes()
One or more <ServiceType> elements MUST be present in the EPR <Metadata> element.

Returns:

referencesServiceTypeURN

public boolean referencesServiceTypeURN(java.lang.String urn)
If the EPR holds a reference to the URN specified, then this method returns true.

Parameters:
urn -
Returns:

getFrameworks

public org.opensaml.xml.util.XMLObjectChildrenList<Framework> getFrameworks()
One or more <Framework> elements MUST be present in the EPR <Metadata> element.

Returns:

getActions

public org.opensaml.xml.util.XMLObjectChildrenList<Action> getActions()

getOptions

public Options getOptions()

getSecurityContexts

public org.opensaml.xml.util.XMLObjectChildrenList<SecurityContext> getSecurityContexts()

setOptions

public void setOptions(Options options)

getUnknownXMLObjects

public java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()
Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getUnknownXMLObjects

public java.util.List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(javax.xml.namespace.QName typeOrName)
Specified by:
getUnknownXMLObjects in interface org.opensaml.xml.ElementExtensibleXMLObject

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject