Class ObjectContainer
java.lang.Object
org.apache.xml.security.utils.ElementProxy
org.apache.xml.security.utils.SignatureElementProxy
org.apache.xml.security.signature.ObjectContainer
Handles
<ds:Object>
elements
Object
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
ConstructorsConstructorDescriptionObjectContainer
(Document doc) ConstructsObjectContainer
ObjectContainer
(Element element, String baseURI) ConstructsObjectContainer
fromElement
-
Method Summary
Modifier and TypeMethodDescriptionappendChild
(Node node) Adds child NodeReturns the localname of the Elements of the sub-class.Returns theEncoding
attributegetId()
Returns theId
attributeReturns theMimeType
attributevoid
setEncoding
(String Encoding) Sets theEncoding
attributevoid
Sets theId
attributevoid
setMimeType
(String MimeType) Sets theMimeType
attributeMethods 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 Details
-
ObjectContainer
ConstructsObjectContainer
- Parameters:
doc
- theDocument
in whichObject
element is placed
-
ObjectContainer
ConstructsObjectContainer
fromElement
- Parameters:
element
- isObject
elementbaseURI
- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Details
-
setId
Sets theId
attribute- Parameters:
Id
-Id
attribute
-
getId
Returns theId
attribute- Returns:
- the
Id
attribute
-
setMimeType
Sets theMimeType
attribute- Parameters:
MimeType
- theMimeType
attribute
-
getMimeType
Returns theMimeType
attribute- Returns:
- the
MimeType
attribute
-
setEncoding
Sets theEncoding
attribute- Parameters:
Encoding
- theEncoding
attribute
-
getEncoding
Returns theEncoding
attribute- Returns:
- the
Encoding
attribute
-
appendChild
Adds child Node- Parameters:
node
- child Node- Returns:
- the new node in the tree.
-
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.
-