org.apache.xml.security.signature
Class ObjectContainer
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.signature.ObjectContainer
public class ObjectContainer
- extends SignatureElementProxy
Handles <ds:Object> elements
Object Element supply facility which can contain any kind data
- Author:
- Christian Geuer-Pollmann
$todo$ if we remove childen, the boolean values are not updated
| Methods inherited from class org.apache.xml.security.utils.ElementProxy |
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, createElementForFamilyLocal, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setElement, setXPathNamespaceContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectContainer
public ObjectContainer(Document doc)
- Constructs
ObjectContainer
- Parameters:
doc - the Document in which Object element is placed
ObjectContainer
public ObjectContainer(Element element,
String baseURI)
throws XMLSecurityException
- Constructs
ObjectContainer from Element
- Parameters:
element - is Object elementbaseURI - the URI of the resource where the XML instance was stored
- Throws:
XMLSecurityException
setId
public void setId(String Id)
- Sets the
Id attribute
- Parameters:
Id - Id attribute
getId
public String getId()
- Returns the
Id attribute
- Returns:
- the
Id attribute
setMimeType
public void setMimeType(String MimeType)
- Sets the
MimeType attribute
- Parameters:
MimeType - the MimeType attribute
getMimeType
public String getMimeType()
- Returns the
MimeType attribute
- Returns:
- the
MimeType attribute
setEncoding
public void setEncoding(String Encoding)
- Sets the
Encoding attribute
- Parameters:
Encoding - the Encoding attribute
getEncoding
public String getEncoding()
- Returns the
Encoding attribute
- Returns:
- the
Encoding attribute
appendChild
public Node appendChild(Node node)
- Adds child Node
- Parameters:
node - child Node
- Returns:
- the new node in the tree.
getBaseLocalName
public String getBaseLocalName()
- Description copied from class:
ElementProxy
- Returns the localname of the Elements of the sub-class.
- Specified by:
getBaseLocalName in class ElementProxy
- Returns:
- the localname of the Elements of the sub-class.
Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.