org.opensaml.ws.wsaddressing.impl
Class EndpointReferenceTypeImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.ws.wsaddressing.impl.AbstractWSAddressingObject
              extended by org.opensaml.ws.wsaddressing.impl.EndpointReferenceTypeImpl
All Implemented Interfaces:
EndpointReferenceType, WSAddressingObject, AttributeExtensibleXMLObject, ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject
Direct Known Subclasses:
EndpointReferenceImpl, FaultToImpl, FromImpl, IssuerImpl, ReplyToImpl

public class EndpointReferenceTypeImpl
extends AbstractWSAddressingObject
implements EndpointReferenceType

Abstract implementation of the element of type EndpointReferenceType.


Field Summary
private  Address address
          Address child element.
private  Metadata metadata
          Optional Metadata child element.
private  ReferenceParameters referenceParameters
          Optional ReferenceParameters child element.
private  AttributeMap unknownAttributes
          Wildcard attributes.
private  IndexedXMLObjectChildrenList<XMLObject> unknownChildren
          Wildcard child elements.
 
Fields inherited from interface org.opensaml.ws.wsaddressing.EndpointReferenceType
TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
EndpointReferenceTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 Address getAddress()
          Returns the <wsa:Address> child element.
 Metadata getMetadata()
          Returns the optional <wsa:Metadata> child element.
 List<XMLObject> getOrderedChildren()
          
 ReferenceParameters getReferenceParameters()
          Returns the optional <wsa:ReferenceParameters> child element.
 AttributeMap getUnknownAttributes()
          
 List<XMLObject> getUnknownXMLObjects()
          
 List<XMLObject> getUnknownXMLObjects(QName typeOrName)
          
 void setAddress(Address newAddress)
          Sets the <wsa:Address> child element.
 void setMetadata(Metadata newMetadata)
          Sets the <wsa:Metadata> child element.
 void setReferenceParameters(ReferenceParameters newReferenceParameters)
          Sets the <wsa:ReferenceParameters> child element.
 
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.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

address

private Address address
Address child element.


metadata

private Metadata metadata
Optional Metadata child element.


referenceParameters

private ReferenceParameters referenceParameters
Optional ReferenceParameters child element.


unknownChildren

private IndexedXMLObjectChildrenList<XMLObject> unknownChildren
Wildcard child elements.


unknownAttributes

private AttributeMap unknownAttributes
Wildcard attributes.

Constructor Detail

EndpointReferenceTypeImpl

public EndpointReferenceTypeImpl(String namespaceURI,
                                 String elementLocalName,
                                 String namespacePrefix)
Constructor.

Parameters:
namespaceURI - The namespace of the element
elementLocalName - The local name of the element
namespacePrefix - The namespace prefix of the element
Method Detail

getAddress

public Address getAddress()
Returns the <wsa:Address> child element.

Specified by:
getAddress in interface EndpointReferenceType
Returns:
the Address child element or null

setAddress

public void setAddress(Address newAddress)
Sets the <wsa:Address> child element.

Specified by:
setAddress in interface EndpointReferenceType
Parameters:
newAddress - the Address child element to set.

getMetadata

public Metadata getMetadata()
Returns the optional <wsa:Metadata> child element.

Specified by:
getMetadata in interface EndpointReferenceType
Returns:
the Metadata child element or null.

setMetadata

public void setMetadata(Metadata newMetadata)
Sets the <wsa:Metadata> child element.

Specified by:
setMetadata in interface EndpointReferenceType
Parameters:
newMetadata - the Metadata child element to set.

getReferenceParameters

public ReferenceParameters getReferenceParameters()
Returns the optional <wsa:ReferenceParameters> child element.

Specified by:
getReferenceParameters in interface EndpointReferenceType
Returns:
the ReferenceParameters child element or null.

setReferenceParameters

public void setReferenceParameters(ReferenceParameters newReferenceParameters)
Sets the <wsa:ReferenceParameters> child element.

Specified by:
setReferenceParameters in interface EndpointReferenceType
Parameters:
newReferenceParameters - the ReferenceParameters child element to set.

getUnknownAttributes

public AttributeMap getUnknownAttributes()

Specified by:
getUnknownAttributes in interface AttributeExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects()

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getUnknownXMLObjects

public List<XMLObject> getUnknownXMLObjects(QName typeOrName)

Specified by:
getUnknownXMLObjects in interface ElementExtensibleXMLObject

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject
Overrides:
getOrderedChildren in class AbstractWSAddressingObject


Copyright © 1999-2013. All Rights Reserved.