|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.aspose.pdf.elements.ElementFactory
public class ElementFactory
Encapsulats a factory that make DOM elements. Users need not pay much attention to this class.
Constructor Summary | |
---|---|
ElementFactory(org.w3c.dom.Document doc)
Initializes an object of class ElementFactory. |
Method Summary | |
---|---|
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
Create an attribute node in DOM. |
org.w3c.dom.Element |
createElement(java.lang.String tagName)
Creates an DOM Element. |
org.w3c.dom.Attr |
createMarginBottom(java.lang.String value)
Create margion-bottom attribute in fo. |
org.w3c.dom.Attr |
createMarginLeft(java.lang.String value)
Create margion-left attribute in fo. |
org.w3c.dom.Attr |
createMarginRight(java.lang.String value)
Create margion-right attribute in fo. |
org.w3c.dom.Attr |
createMarginTop(java.lang.String value)
Create margion-top attribute in fo. |
org.w3c.dom.Attr |
createMasterName(java.lang.String value)
Create master name in simple-page-master. |
org.w3c.dom.Attr |
createNameSpace()
Create xml namespace. |
org.w3c.dom.Attr |
createPageHeight(java.lang.String value)
Create page-height attribute. |
org.w3c.dom.Attr |
createPageWidth(java.lang.String value)
Create page-width attribute. |
org.w3c.dom.Attr |
createProperty(java.lang.String name,
java.lang.String value,
java.lang.String default_value)
Create property node with name and value. |
org.w3c.dom.Attr |
createReferenceOrientation(java.lang.String value)
Create reference orientation attribute. |
org.w3c.dom.Element |
createSimplePageMaster()
Create fo simple-page-master element. |
org.w3c.dom.Text |
createTextNode(java.lang.String data)
Create text node in DOM. |
org.w3c.dom.Attr |
createWritingMode(java.lang.String value)
Create Writing mode attribute. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementFactory(org.w3c.dom.Document doc) throws javax.xml.parsers.ParserConfigurationException
doc
- , the pdf doccument created.
javax.xml.parsers.ParserConfigurationException
Method Detail |
---|
public org.w3c.dom.Element createElement(java.lang.String tagName) throws AsposeBaseException
tagName
- The tag name of Element.
AsposeBaseException
public org.w3c.dom.Attr createAttribute(java.lang.String name) throws AsposeBaseException
name
- The attribute name.
AsposeBaseException
public org.w3c.dom.Attr createNameSpace() throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createProperty(java.lang.String name, java.lang.String value, java.lang.String default_value) throws AsposeBaseException
name
- The property name.value
- The property name.default_value
- If value not specified , then use this value.
AsposeBaseException
public org.w3c.dom.Element createSimplePageMaster() throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createMasterName(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createMarginTop(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createMarginBottom(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createMarginLeft(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createMarginRight(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createPageHeight(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createPageWidth(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createReferenceOrientation(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Attr createWritingMode(java.lang.String value) throws AsposeBaseException
AsposeBaseException
public org.w3c.dom.Text createTextNode(java.lang.String data) throws AsposeBaseException
AsposeBaseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |