org.opensaml.xml.mock
public class SimpleXMLObject extends org.opensaml.xml.signature.AbstractSignableXMLObject implements org.opensaml.xml.ElementExtensibleXMLObject, org.opensaml.xml.AttributeExtensibleXMLObject
Modifier and Type | Field and Description |
---|---|
static QName |
ELEMENT_NAME
Default element name
|
static String |
ENCRYPTED_NAME
Local name of encrypted element
|
private org.opensaml.xml.encryption.EncryptedData |
encryptedData
EncryptedData child
|
private String |
id
Name attribute
|
static String |
ID_ATTRIB_NAME
Name attribute name
|
static String |
LOCAL_NAME
Element local name
|
static String |
NAMESPACE
Default namespace
|
static String |
NAMESPACE_PREFIX
Default namespace prefix
|
private org.opensaml.xml.util.XMLObjectChildrenList<SimpleXMLObject> |
simpleXMLObjects
Child SimpleXMLObjects
|
private org.opensaml.xml.util.AttributeMap |
unknownAttributes
anyAttribute wildcard attributes.
|
private org.opensaml.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xml.XMLObject> |
unknownXMLObjects
Other children
|
private String |
value
Value of the object stored as text content in the element
|
Constructor and Description |
---|
SimpleXMLObject(String namspaceURI,
String localName,
String namespacePrefix)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.opensaml.xml.encryption.EncryptedData |
getEncryptedData()
Get the EncryptedData child element.
|
String |
getId()
Gets the name attribute.
|
List<org.opensaml.xml.XMLObject> |
getOrderedChildren() |
List<SimpleXMLObject> |
getSimpleXMLObjects()
Gets the list of child SimpleXMLObjects.
|
org.opensaml.xml.util.AttributeMap |
getUnknownAttributes() |
List<org.opensaml.xml.XMLObject> |
getUnknownXMLObjects() |
List<org.opensaml.xml.XMLObject> |
getUnknownXMLObjects(QName typeOrName) |
String |
getValue()
Gets the value of this object.
|
void |
setEncryptedData(org.opensaml.xml.encryption.EncryptedData newEncryptedData)
Set the EncryptedData child element.
|
void |
setId(String newId)
Sets the name attribute.
|
void |
setValue(String newValue)
Sets the value of this object.
|
getSignature, isSigned, setSignature
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public static final String NAMESPACE
public static final String NAMESPACE_PREFIX
public static final String LOCAL_NAME
public static final QName ELEMENT_NAME
public static final String ENCRYPTED_NAME
public static final String ID_ATTRIB_NAME
private String id
private String value
private org.opensaml.xml.util.XMLObjectChildrenList<SimpleXMLObject> simpleXMLObjects
private org.opensaml.xml.util.IndexedXMLObjectChildrenList<org.opensaml.xml.XMLObject> unknownXMLObjects
private org.opensaml.xml.encryption.EncryptedData encryptedData
private org.opensaml.xml.util.AttributeMap unknownAttributes
public String getId()
public void setId(String newId)
newId
- the name attributepublic String getValue()
public void setValue(String newValue)
newValue
- the value of this objectpublic org.opensaml.xml.encryption.EncryptedData getEncryptedData()
public void setEncryptedData(org.opensaml.xml.encryption.EncryptedData newEncryptedData)
newEncryptedData
- the new EncryptedData child elementpublic List<SimpleXMLObject> getSimpleXMLObjects()
public List<org.opensaml.xml.XMLObject> getUnknownXMLObjects()
getUnknownXMLObjects
in interface org.opensaml.xml.ElementExtensibleXMLObject
public List<org.opensaml.xml.XMLObject> getUnknownXMLObjects(QName typeOrName)
getUnknownXMLObjects
in interface org.opensaml.xml.ElementExtensibleXMLObject
public List<org.opensaml.xml.XMLObject> getOrderedChildren()
getOrderedChildren
in interface org.opensaml.xml.XMLObject
public org.opensaml.xml.util.AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface org.opensaml.xml.AttributeExtensibleXMLObject
Copyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.