org.opensaml.xml.signature.impl
Class X509DataImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.xml.signature.impl.X509DataImpl
All Implemented Interfaces:
X509Data, ValidatingXMLObject, XMLObject

public class X509DataImpl
extends AbstractValidatingXMLObject
implements X509Data

Concrete implementation of X509Data.


Field Summary
private  IndexedXMLObjectChildrenList indexedChildren
          The list of XMLObject child elements.
 
Fields inherited from interface org.opensaml.xml.signature.X509Data
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected X509DataImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<XMLObject> getOrderedChildren()
          Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
 List<X509Certificate> getX509Certificates()
          Get the list of X509Certificate child elements.
 List<X509CRL> getX509CRLs()
          Get the list of X509CRL child elements.
 List<X509IssuerSerial> getX509IssuerSerials()
          Get the list of X509IssuerSerial child elements.
 List<X509SKI> getX509SKIs()
          Get the list of X509SKI child elements.
 List<X509SubjectName> getX509SubjectNames()
          Get the list of X509SubjectName child elements.
 List<XMLObject> getXMLObjects()
          Get the list of all XMLObject children.
 List<XMLObject> getXMLObjects(QName typeOrName)
          Get the list of XMLObject children whose type or element QName matches the specified QName.
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, 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.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

indexedChildren

private final IndexedXMLObjectChildrenList indexedChildren
The list of XMLObject child elements.

Constructor Detail

X509DataImpl

protected X509DataImpl(String namespaceURI,
                       String elementLocalName,
                       String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getXMLObjects

public List<XMLObject> getXMLObjects()
Get the list of all XMLObject children.

Specified by:
getXMLObjects in interface X509Data
Returns:
the list of XMLObject children

getXMLObjects

public List<XMLObject> getXMLObjects(QName typeOrName)
Get the list of XMLObject children whose type or element QName matches the specified QName.

Specified by:
getXMLObjects in interface X509Data
Parameters:
typeOrName - the QName of the desired elements
Returns:
the matching list of XMLObject children

getX509IssuerSerials

public List<X509IssuerSerial> getX509IssuerSerials()
Get the list of X509IssuerSerial child elements.

Specified by:
getX509IssuerSerials in interface X509Data
Returns:
the list of X509IssuerSerial child elements

getX509SKIs

public List<X509SKI> getX509SKIs()
Get the list of X509SKI child elements.

Specified by:
getX509SKIs in interface X509Data
Returns:
the list of X509SKI child elements

getX509SubjectNames

public List<X509SubjectName> getX509SubjectNames()
Get the list of X509SubjectName child elements.

Specified by:
getX509SubjectNames in interface X509Data
Returns:
the list of X509SubjectName child elements

getX509Certificates

public List<X509Certificate> getX509Certificates()
Get the list of X509Certificate child elements.

Specified by:
getX509Certificates in interface X509Data
Returns:
the list of X509Certificate child elements

getX509CRLs

public List<X509CRL> getX509CRLs()
Get the list of X509CRL child elements.

Specified by:
getX509CRLs in interface X509Data
Returns:
the list of X509CRL child elements

getOrderedChildren

public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.

Specified by:
getOrderedChildren in interface XMLObject
Returns:
ordered list of child elements


Copyright © 1999-2012. All Rights Reserved.