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) ConstructsObjectContainerObjectContainer(Element element, String BaseURI) ConstructsObjectContainerfromElement -
Method Summary
Modifier and TypeMethodDescriptionappendChild(Node node) Adds childe NodeReturns the localname of the Elements of the sub-class.Returns theEncodingattributegetId()Returns theIdattributeReturns theMimeTypeattributevoidsetEncoding(String Encoding) Sets theEncodingattributevoidSets theIdattributevoidsetMimeType(String MimeType) Sets theMimeTypeattributeMethods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespaceMethods 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- theDocumentin whichObjectelement is placed
-
ObjectContainer
ConstructsObjectContainerfromElement- Parameters:
element- isObjectelementBaseURI- the URI of the resource where the XML instance was stored- Throws:
XMLSecurityException
-
-
Method Details
-
setId
Sets theIdattribute- Parameters:
Id-Idattribute
-
getId
Returns theIdattribute- Returns:
- the
Idattribute
-
setMimeType
Sets theMimeTypeattribute- Parameters:
MimeType- theMimeTypeattribute
-
getMimeType
Returns theMimeTypeattribute- Returns:
- the
MimeTypeattribute
-
setEncoding
Sets theEncodingattribute- Parameters:
Encoding- theEncodingattribute
-
getEncoding
Returns theEncodingattribute- Returns:
- the
Encodingattribute
-
appendChild
Adds childe Node- Parameters:
node- childe Node- Returns:
- the new node in the tree.
-
getBaseLocalName
Description copied from class:ElementProxyReturns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-