Class CustomXml
java.lang.Object
com.independentsoft.office.word.customMarkup.CustomXml
- All Implemented Interfaces:
IContentElement,IBlockContent,IBlockElement
The Class CustomXml.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new custom xml.CustomXml(InternalXMLStreamReader reader)Instantiates a new custom xml. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the.voidadd(StructuredDocumentTag structuredDocumentTag)Adds the.voidadd(IBlockElement contentElement)Adds the.voidAdds the.voidAdds the.clone()Gets the content.getName()Gets the name.Gets the namespace.Gets the properties.voidSets the name.voidsetNamespace(String namespace)Sets the namespace.toString()
-
Constructor Details
-
CustomXml
public CustomXml()Instantiates a new custom xml. -
CustomXml
Instantiates a new custom xml.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
add
Adds the.- Parameters:
paragraph- the paragraph
-
add
Adds the.- Parameters:
table- the table
-
add
Adds the.- Parameters:
customXml- the custom xml
-
add
Adds the.- Parameters:
structuredDocumentTag- the structured document tag
-
add
Adds the.- Parameters:
contentElement- the content element
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIBlockContent- Specified by:
clonein interfaceIBlockElement- Specified by:
clonein interfaceIContentElement- Overrides:
clonein classObject
-
toString
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getNamespace
Gets the namespace.- Returns:
- the namespace
-
setNamespace
Sets the namespace.- Parameters:
namespace- the new namespace
-
getContent
Gets the content.- Returns:
- the content
-
getProperties
Gets the properties.- Returns:
- the properties
-