org.opensaml.xml.signature.impl
Class TransformImpl

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

public class TransformImpl
extends AbstractValidatingXMLObject
implements Transform

Concrete implementation of Transform


Field Summary
private  String algorithm
           
private  IndexedXMLObjectChildrenList indexedChildren
           
 
Fields inherited from interface org.opensaml.xml.signature.Transform
ALGORITHM_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected TransformImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor
 
Method Summary
 String getAlgorithm()
          Get the Algorithm URI attribute value
 List<XMLObject> getAllChildren()
          Gets the ordered list of all XMLObject child elements of this element.
 List<XMLObject> getOrderedChildren()
          Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
 List<XMLObject> getXMLObjects(QName typeOrName)
          Get the list of XMLObject children that match a particular QName
 List<XPath> getXPaths()
          Get the list of XPath child elements
 void setAlgorithm(String newAlgorithm)
          Set the Algorithm URI attribute value
 
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

algorithm

private String algorithm

indexedChildren

private final IndexedXMLObjectChildrenList indexedChildren
Constructor Detail

TransformImpl

protected TransformImpl(String namespaceURI,
                        String elementLocalName,
                        String namespacePrefix)
Constructor

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

getAlgorithm

public String getAlgorithm()
Get the Algorithm URI attribute value

Specified by:
getAlgorithm in interface Transform
Returns:
the Algorithm URI attribute value

setAlgorithm

public void setAlgorithm(String newAlgorithm)
Set the Algorithm URI attribute value

Specified by:
setAlgorithm in interface Transform
Parameters:
newAlgorithm - the new Algorithm URI attribute value

getAllChildren

public List<XMLObject> getAllChildren()
Gets the ordered list of all XMLObject child elements of this element.

Specified by:
getAllChildren in interface Transform
Returns:
list of XMLObject children

getXMLObjects

public List<XMLObject> getXMLObjects(QName typeOrName)
Get the list of XMLObject children that match a particular QName

Specified by:
getXMLObjects in interface Transform
Parameters:
typeOrName - the QName of the statements to return
Returns:
the list of XMLObject children that match the given QName

getXPaths

public List<XPath> getXPaths()
Get the list of XPath child elements

Specified by:
getXPaths in interface Transform
Returns:
list of XPath 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.