public class UsernameTokenImpl extends AbstractWSSecurityObject implements UsernameToken
UsernameToken
.ELEMENT_LOCAL_NAME, ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
WSU_ID_ATTR_LOCAL_NAME, WSU_ID_ATTR_NAME
Constructor and Description |
---|
UsernameTokenImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
AttributeMap |
getUnknownAttributes()
Gets a mutable map of the attributes.
|
List<XMLObject> |
getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
|
List<XMLObject> |
getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
and which match the specified QName.
|
Username |
getUsername()
Returns the <wsse:Username> child element.
|
String |
getWSUId()
Returns the
@wsu:Id attribute value. |
void |
setUsername(Username newUsername)
Sets the <wsse:Username> child element.
|
void |
setWSUId(String newId)
Sets the
@wsu:Id attribute value. |
deregisterValidator, getValidators, registerValidator, validate, validateChildren
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 Username getUsername()
getUsername
in interface UsernameToken
Username
child element.public void setUsername(Username newUsername)
setUsername
in interface UsernameToken
newUsername
- the Username
child element to set.public String getWSUId()
@wsu:Id
attribute value.public void setWSUId(String newId)
@wsu:Id
attribute value.public AttributeMap getUnknownAttributes()
getUnknownAttributes
in interface AttributeExtensibleXMLObject
public List<XMLObject> getUnknownXMLObjects()
getUnknownXMLObjects
in interface ElementExtensibleXMLObject
public List<XMLObject> getUnknownXMLObjects(QName typeOrName)
getUnknownXMLObjects
in interface ElementExtensibleXMLObject
typeOrName
- the QName of the statements to returnpublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
getOrderedChildren
in class AbstractWSSecurityObject
Copyright © 2018 JBoss by Red Hat. All rights reserved.