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
- Author:
- Christian Geuer-Pollmann $todo$ if we remove childen, the boolean values are not updated
-
Field Summary
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
-
Constructor Summary
ConstructorsConstructorDescriptionObjectContainer
(Document doc) ConstructsObjectContainer
ObjectContainer
(Element element, String BaseURI) ConstructsObjectContainer
fromElement
-
Method Summary
Modifier and TypeMethodDescriptionappendChild
(Node node) Adds childe 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, addText, addTextElement, createElementForFamily, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, 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 childe Node- Parameters:
node
- childe Node- Returns:
- the new node in the tree.
-
getBaseLocalName
Description copied from class:ElementProxy
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.
-