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) ConstructsObjectContainerObjectContainer(Element element, String baseURI) ConstructsObjectContainerfromElement -
Method Summary
Modifier and TypeMethodDescriptionappendChild(Node node) Adds child 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, 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- 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 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:
getBaseLocalNamein classElementProxy- Returns:
- the localname of the Elements of the sub-class.
-