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, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, 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–2013 The Apache Software Foundation. All rights reserved.