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>
elementsObject
Element
supply facility which can contain any kind data $todo$ if we remove childen, the boolean values are not updated
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description ObjectContainer(org.w3c.dom.Document doc)
ConstructsObjectContainer
ObjectContainer(org.w3c.dom.Element element, java.lang.String baseURI)
ConstructsObjectContainer
fromElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Node
appendChild(org.w3c.dom.Node node)
Adds child Nodejava.lang.String
getBaseLocalName()
Returns the localname of the Elements of the sub-class.java.lang.String
getEncoding()
Returns theEncoding
attributejava.lang.String
getId()
Returns theId
attributejava.lang.String
getMimeType()
Returns theMimeType
attributevoid
setEncoding(java.lang.String Encoding)
Sets theEncoding
attributevoid
setId(java.lang.String Id)
Sets theId
attributevoid
setMimeType(java.lang.String MimeType)
Sets theMimeType
attribute-
Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
-
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
-
-
-
-
Constructor Detail
-
ObjectContainer
public ObjectContainer(org.w3c.dom.Document doc)
ConstructsObjectContainer
- Parameters:
doc
- theDocument
in whichObject
element is placed
-
ObjectContainer
public ObjectContainer(org.w3c.dom.Element element, java.lang.String baseURI) throws XMLSecurityException
ConstructsObjectContainer
fromElement
- Parameters:
element
- isObject
elementbaseURI
- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Detail
-
setId
public void setId(java.lang.String Id)
Sets theId
attribute- Parameters:
Id
-Id
attribute
-
getId
public java.lang.String getId()
Returns theId
attribute- Returns:
- the
Id
attribute
-
setMimeType
public void setMimeType(java.lang.String MimeType)
Sets theMimeType
attribute- Parameters:
MimeType
- theMimeType
attribute
-
getMimeType
public java.lang.String getMimeType()
Returns theMimeType
attribute- Returns:
- the
MimeType
attribute
-
setEncoding
public void setEncoding(java.lang.String Encoding)
Sets theEncoding
attribute- Parameters:
Encoding
- theEncoding
attribute
-
getEncoding
public java.lang.String getEncoding()
Returns theEncoding
attribute- Returns:
- the
Encoding
attribute
-
appendChild
public org.w3c.dom.Node appendChild(org.w3c.dom.Node node)
Adds child Node- Parameters:
node
- child Node- Returns:
- the new node in the tree.
-
getBaseLocalName
public java.lang.String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-
-