|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.odftoolkit.odfdom.pkg.OdfElement
org.odftoolkit.odfdom.dom.element.OdfStylableElement
org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement
org.odftoolkit.odfdom.dom.element.draw.DrawShapeElementBase
org.odftoolkit.odfdom.dom.element.draw.DrawPolylineElement
public class DrawPolylineElement
DOM implementation of OpenDocument element draw:polyline.
Field Summary | |
---|---|
static OdfName |
ELEMENT_NAME
|
Fields inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
---|
mFamily, mStyleNameAttrib |
Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
localName, namespaceURI |
Fields inherited from class org.apache.xerces.dom.ElementImpl |
---|
attributes, name |
Fields inherited from class org.apache.xerces.dom.ParentNode |
---|
firstChild, fNodeListCache, ownerDocument |
Fields inherited from class org.apache.xerces.dom.ChildNode |
---|
nextSibling, previousSibling |
Fields inherited from interface org.w3c.dom.TypeInfo |
---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
Constructor Summary | |
---|---|
DrawPolylineElement(OdfFileDom ownerDoc)
Create the instance of DrawPolylineElement |
Method Summary | |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
String |
getDrawCaptionIdAttribute()
Receives the value of the ODFDOM attribute representation DrawCaptionIdAttribute , See draw:caption-id |
String |
getDrawLayerAttribute()
Receives the value of the ODFDOM attribute representation DrawLayerAttribute , See draw:layer |
String |
getDrawPointsAttribute()
Receives the value of the ODFDOM attribute representation DrawPointsAttribute , See draw:points
Attribute is mandatory. |
String |
getDrawTextStyleNameAttribute()
Receives the value of the ODFDOM attribute representation DrawTextStyleNameAttribute , See draw:text-style-name |
String |
getDrawTransformAttribute()
Receives the value of the ODFDOM attribute representation DrawTransformAttribute , See draw:transform |
OdfName |
getOdfName()
Get the element name |
String |
getSvgHeightAttribute()
Receives the value of the ODFDOM attribute representation SvgHeightAttribute , See svg:height |
String |
getSvgViewBoxAttribute()
Receives the value of the ODFDOM attribute representation SvgViewBoxAttribute , See svg:viewBox
Attribute is mandatory. |
String |
getSvgWidthAttribute()
Receives the value of the ODFDOM attribute representation SvgWidthAttribute , See svg:width |
String |
getSvgXAttribute()
Receives the value of the ODFDOM attribute representation SvgXAttribute , See svg:x |
String |
getSvgYAttribute()
Receives the value of the ODFDOM attribute representation SvgYAttribute , See svg:y |
DrawGluePointElement |
newDrawGluePointElement(String drawEscapeDirectionValue,
String drawIdValue,
String svgXValue,
String svgYValue)
Create child element draw:glue-point. |
OfficeEventListenersElement |
newOfficeEventListenersElement()
Create child element office:event-listeners. |
SvgDescElement |
newSvgDescElement()
Create child element svg:desc. |
SvgTitleElement |
newSvgTitleElement()
Create child element svg:title. |
TextListElement |
newTextListElement()
Create child element text:list. |
TextPElement |
newTextPElement()
Create child element text:p. |
void |
setDrawCaptionIdAttribute(String drawCaptionIdValue)
Sets the value of ODFDOM attribute representation DrawCaptionIdAttribute , See draw:caption-id |
void |
setDrawLayerAttribute(String drawLayerValue)
Sets the value of ODFDOM attribute representation DrawLayerAttribute , See draw:layer |
void |
setDrawPointsAttribute(String drawPointsValue)
Sets the value of ODFDOM attribute representation DrawPointsAttribute , See draw:points |
void |
setDrawTextStyleNameAttribute(String drawTextStyleNameValue)
Sets the value of ODFDOM attribute representation DrawTextStyleNameAttribute , See draw:text-style-name |
void |
setDrawTransformAttribute(String drawTransformValue)
Sets the value of ODFDOM attribute representation DrawTransformAttribute , See draw:transform |
void |
setSvgHeightAttribute(String svgHeightValue)
Sets the value of ODFDOM attribute representation SvgHeightAttribute , See svg:height |
void |
setSvgViewBoxAttribute(String svgViewBoxValue)
Sets the value of ODFDOM attribute representation SvgViewBoxAttribute , See svg:viewBox |
void |
setSvgWidthAttribute(String svgWidthValue)
Sets the value of ODFDOM attribute representation SvgWidthAttribute , See svg:width |
void |
setSvgXAttribute(String svgXValue)
Sets the value of ODFDOM attribute representation SvgXAttribute , See svg:x |
void |
setSvgYAttribute(String svgYValue)
Sets the value of ODFDOM attribute representation SvgYAttribute , See svg:y |
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement |
---|
adjustStyleNameAttrib, setAttributeNodeNS, setAttributeNS |
Methods inherited from class org.odftoolkit.odfdom.dom.element.OdfStylableElement |
---|
getAutomaticStyle, getAutomaticStyles, getDocumentStyle, getOrCreateUnqiueAutomaticStyle, getProperties, getProperty, getStrictProperties, getStyleFamily, getStyleName, hasAutomaticStyle, hasDocumentStyle, hasProperty, onInsertNode, onRemoveNode, removeProperty, reuseDocumentStyle, setDocumentStyle, setProperties, setProperty, setStyleName |
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onRemoveNode, removeChild, replaceChild, setOdfAttribute, setOdfAttributeValue, toString |
Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
---|
getBaseURI, getLocalName, getNamespaceURI, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setPrefix, setType, setValues |
Methods inherited from class org.apache.xerces.dom.ParentNode |
---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
Methods inherited from class org.apache.xerces.dom.ChildNode |
---|
getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class org.apache.xerces.dom.NodeImpl |
---|
addEventListener, appendChild, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setUserData, setUserData |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.w3c.dom.Node |
---|
appendChild, compareDocumentPosition, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setNodeValue, setTextContent, setUserData |
Field Detail |
---|
public static final OdfName ELEMENT_NAME
Constructor Detail |
---|
public DrawPolylineElement(OdfFileDom ownerDoc)
DrawPolylineElement
ownerDoc
- The type is OdfFileDom
Method Detail |
---|
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element draw:polyline.public String getDrawCaptionIdAttribute()
DrawCaptionIdAttribute
, See draw:caption-id
String
, the value or null
, if the attribute is not set and no default value defined.public void setDrawCaptionIdAttribute(String drawCaptionIdValue)
DrawCaptionIdAttribute
, See draw:caption-id
drawCaptionIdValue
- The type is String
public String getDrawLayerAttribute()
DrawLayerAttribute
, See draw:layer
String
, the value or null
, if the attribute is not set and no default value defined.public void setDrawLayerAttribute(String drawLayerValue)
DrawLayerAttribute
, See draw:layer
drawLayerValue
- The type is String
public String getDrawPointsAttribute()
DrawPointsAttribute
, See draw:points
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setDrawPointsAttribute(String drawPointsValue)
DrawPointsAttribute
, See draw:points
drawPointsValue
- The type is String
public String getDrawTextStyleNameAttribute()
DrawTextStyleNameAttribute
, See draw:text-style-name
String
, the value or null
, if the attribute is not set and no default value defined.public void setDrawTextStyleNameAttribute(String drawTextStyleNameValue)
DrawTextStyleNameAttribute
, See draw:text-style-name
drawTextStyleNameValue
- The type is String
public String getDrawTransformAttribute()
DrawTransformAttribute
, See draw:transform
String
, the value or null
, if the attribute is not set and no default value defined.public void setDrawTransformAttribute(String drawTransformValue)
DrawTransformAttribute
, See draw:transform
drawTransformValue
- The type is String
public String getSvgHeightAttribute()
SvgHeightAttribute
, See svg:height
String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgHeightAttribute(String svgHeightValue)
SvgHeightAttribute
, See svg:height
svgHeightValue
- The type is String
public String getSvgViewBoxAttribute()
SvgViewBoxAttribute
, See svg:viewBox
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgViewBoxAttribute(String svgViewBoxValue)
SvgViewBoxAttribute
, See svg:viewBox
svgViewBoxValue
- The type is String
public String getSvgWidthAttribute()
SvgWidthAttribute
, See svg:width
String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgWidthAttribute(String svgWidthValue)
SvgWidthAttribute
, See svg:width
svgWidthValue
- The type is String
public String getSvgXAttribute()
SvgXAttribute
, See svg:x
String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgXAttribute(String svgXValue)
SvgXAttribute
, See svg:x
svgXValue
- The type is String
public String getSvgYAttribute()
SvgYAttribute
, See svg:y
String
, the value or null
, if the attribute is not set and no default value defined.public void setSvgYAttribute(String svgYValue)
SvgYAttribute
, See svg:y
svgYValue
- The type is String
public DrawGluePointElement newDrawGluePointElement(String drawEscapeDirectionValue, String drawIdValue, String svgXValue, String svgYValue)
drawEscapeDirectionValue
- the String
value of DrawEscapeDirectionAttribute
, see draw:escape-direction at specificationdrawIdValue
- the String
value of DrawIdAttribute
, see draw:id at specificationsvgXValue
- the String
value of SvgXAttribute
, see svg:x at specificationsvgYValue
- the String
value of SvgYAttribute
, see svg:y at specification
public OfficeEventListenersElement newOfficeEventListenersElement()
public SvgDescElement newSvgDescElement()
public SvgTitleElement newSvgTitleElement()
public TextListElement newTextListElement()
public TextPElement newTextPElement()
public void accept(ElementVisitor visitor)
OdfElement
accept
in class OdfElement
visitor
- an instance of DefaultElementVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |