|
||||||||||
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.draw.DrawAElement
public class DrawAElement
DOM implementation of OpenDocument element draw:a.
Field Summary | |
---|---|
static OdfName |
ELEMENT_NAME
|
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 | |
---|---|
DrawAElement(OdfFileDom ownerDoc)
Create the instance of DrawAElement |
Method Summary | |
---|---|
void |
accept(ElementVisitor visitor)
Accept an visitor instance to allow the visitor to do some operations. |
OdfName |
getOdfName()
Get the element name |
String |
getOfficeNameAttribute()
Receives the value of the ODFDOM attribute representation OfficeNameAttribute , See office:name |
Boolean |
getOfficeServerMapAttribute()
Receives the value of the ODFDOM attribute representation OfficeServerMapAttribute , See office:server-map |
String |
getOfficeTargetFrameNameAttribute()
Receives the value of the ODFDOM attribute representation OfficeTargetFrameNameAttribute , See office:target-frame-name |
String |
getOfficeTitleAttribute()
Receives the value of the ODFDOM attribute representation OfficeTitleAttribute , See office:title |
String |
getXlinkActuateAttribute()
Receives the value of the ODFDOM attribute representation XlinkActuateAttribute , See xlink:actuate |
String |
getXlinkHrefAttribute()
Receives the value of the ODFDOM attribute representation XlinkHrefAttribute , See xlink:href
Attribute is mandatory. |
String |
getXlinkShowAttribute()
Receives the value of the ODFDOM attribute representation XlinkShowAttribute , See xlink:show |
String |
getXlinkTypeAttribute()
Receives the value of the ODFDOM attribute representation XlinkTypeAttribute , See xlink:type
Attribute is mandatory. |
String |
getXmlIdAttribute()
Receives the value of the ODFDOM attribute representation XmlIdAttribute , See xml:id |
Dr3dSceneElement |
newDr3dSceneElement()
Create child element dr3d:scene. |
DrawCaptionElement |
newDrawCaptionElement()
Create child element draw:caption. |
DrawCircleElement |
newDrawCircleElement()
Create child element draw:circle. |
DrawConnectorElement |
newDrawConnectorElement(String svgViewBoxValue)
Create child element draw:connector. |
DrawControlElement |
newDrawControlElement(String drawControlValue)
Create child element draw:control. |
DrawCustomShapeElement |
newDrawCustomShapeElement()
Create child element draw:custom-shape. |
DrawEllipseElement |
newDrawEllipseElement()
Create child element draw:ellipse. |
DrawFrameElement |
newDrawFrameElement()
Create child element draw:frame. |
DrawGElement |
newDrawGElement()
Create child element draw:g. |
DrawLineElement |
newDrawLineElement(String svgX1Value,
String svgX2Value,
String svgY1Value,
String svgY2Value)
Create child element draw:line. |
DrawMeasureElement |
newDrawMeasureElement(String svgX1Value,
String svgX2Value,
String svgY1Value,
String svgY2Value)
Create child element draw:measure. |
DrawPageThumbnailElement |
newDrawPageThumbnailElement()
Create child element draw:page-thumbnail. |
DrawPathElement |
newDrawPathElement(String svgDValue,
String svgViewBoxValue)
Create child element draw:path. |
DrawPolygonElement |
newDrawPolygonElement(String drawPointsValue,
String svgViewBoxValue)
Create child element draw:polygon. |
DrawPolylineElement |
newDrawPolylineElement(String drawPointsValue,
String svgViewBoxValue)
Create child element draw:polyline. |
DrawRectElement |
newDrawRectElement()
Create child element draw:rect. |
DrawRegularPolygonElement |
newDrawRegularPolygonElement(boolean drawConcaveValue,
int drawCornersValue)
Create child element draw:regular-polygon. |
void |
setOfficeNameAttribute(String officeNameValue)
Sets the value of ODFDOM attribute representation OfficeNameAttribute , See office:name |
void |
setOfficeServerMapAttribute(Boolean officeServerMapValue)
Sets the value of ODFDOM attribute representation OfficeServerMapAttribute , See office:server-map |
void |
setOfficeTargetFrameNameAttribute(String officeTargetFrameNameValue)
Sets the value of ODFDOM attribute representation OfficeTargetFrameNameAttribute , See office:target-frame-name |
void |
setOfficeTitleAttribute(String officeTitleValue)
Sets the value of ODFDOM attribute representation OfficeTitleAttribute , See office:title |
void |
setXlinkActuateAttribute(String xlinkActuateValue)
Sets the value of ODFDOM attribute representation XlinkActuateAttribute , See xlink:actuate |
void |
setXlinkHrefAttribute(String xlinkHrefValue)
Sets the value of ODFDOM attribute representation XlinkHrefAttribute , See xlink:href |
void |
setXlinkShowAttribute(String xlinkShowValue)
Sets the value of ODFDOM attribute representation XlinkShowAttribute , See xlink:show |
void |
setXlinkTypeAttribute(String xlinkTypeValue)
Sets the value of ODFDOM attribute representation XlinkTypeAttribute , See xlink:type |
void |
setXmlIdAttribute(String xmlIdValue)
Sets the value of ODFDOM attribute representation XmlIdAttribute , See xml:id |
Methods inherited from class org.odftoolkit.odfdom.pkg.OdfElement |
---|
cloneNode, equals, findFirstChildNode, findNextChildNode, findPreviousChildNode, getAncestorAs, getOdfAttribute, getOdfAttribute, getOdfAttributeValue, getParentAs, hasOdfAttribute, insertBefore, onInsertNode, onInsertNode, onRemoveNode, 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 DrawAElement(OdfFileDom ownerDoc)
DrawAElement
ownerDoc
- The type is OdfFileDom
Method Detail |
---|
public OdfName getOdfName()
getOdfName
in class OdfElement
OdfName
the name of element draw:a.public String getOfficeNameAttribute()
OfficeNameAttribute
, See office:name
String
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeNameAttribute(String officeNameValue)
OfficeNameAttribute
, See office:name
officeNameValue
- The type is String
public Boolean getOfficeServerMapAttribute()
OfficeServerMapAttribute
, See office:server-map
Boolean
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeServerMapAttribute(Boolean officeServerMapValue)
OfficeServerMapAttribute
, See office:server-map
officeServerMapValue
- The type is Boolean
public String getOfficeTargetFrameNameAttribute()
OfficeTargetFrameNameAttribute
, See office:target-frame-name
String
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeTargetFrameNameAttribute(String officeTargetFrameNameValue)
OfficeTargetFrameNameAttribute
, See office:target-frame-name
officeTargetFrameNameValue
- The type is String
public String getOfficeTitleAttribute()
OfficeTitleAttribute
, See office:title
String
, the value or null
, if the attribute is not set and no default value defined.public void setOfficeTitleAttribute(String officeTitleValue)
OfficeTitleAttribute
, See office:title
officeTitleValue
- The type is String
public String getXlinkActuateAttribute()
XlinkActuateAttribute
, See xlink:actuate
String
, the value or null
, if the attribute is not set and no default value defined.public void setXlinkActuateAttribute(String xlinkActuateValue)
XlinkActuateAttribute
, See xlink:actuate
xlinkActuateValue
- The type is String
public String getXlinkHrefAttribute()
XlinkHrefAttribute
, See xlink:href
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setXlinkHrefAttribute(String xlinkHrefValue)
XlinkHrefAttribute
, See xlink:href
xlinkHrefValue
- The type is String
public String getXlinkShowAttribute()
XlinkShowAttribute
, See xlink:show
String
, the value or null
, if the attribute is not set and no default value defined.public void setXlinkShowAttribute(String xlinkShowValue)
XlinkShowAttribute
, See xlink:show
xlinkShowValue
- The type is String
public String getXlinkTypeAttribute()
XlinkTypeAttribute
, See xlink:type
Attribute is mandatory.
String
, the value or null
, if the attribute is not set and no default value defined.public void setXlinkTypeAttribute(String xlinkTypeValue)
XlinkTypeAttribute
, See xlink:type
xlinkTypeValue
- The type is String
public String getXmlIdAttribute()
XmlIdAttribute
, See xml:id
String
, the value or null
, if the attribute is not set and no default value defined.public void setXmlIdAttribute(String xmlIdValue)
XmlIdAttribute
, See xml:id
xmlIdValue
- The type is String
public Dr3dSceneElement newDr3dSceneElement()
public DrawCaptionElement newDrawCaptionElement()
public DrawCircleElement newDrawCircleElement()
public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue)
svgViewBoxValue
- the String
value of SvgViewBoxAttribute
, see svg:viewBox at specification
Child element is new in Odf 1.2
public DrawControlElement newDrawControlElement(String drawControlValue)
drawControlValue
- the String
value of DrawControlAttribute
, see draw:control at specification
Child element is new in Odf 1.2
public DrawCustomShapeElement newDrawCustomShapeElement()
public DrawEllipseElement newDrawEllipseElement()
public DrawFrameElement newDrawFrameElement()
public DrawGElement newDrawGElement()
public DrawLineElement newDrawLineElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value)
svgX1Value
- the String
value of SvgX1Attribute
, see svg:x1 at specificationsvgX2Value
- the String
value of SvgX2Attribute
, see svg:x2 at specificationsvgY1Value
- the String
value of SvgY1Attribute
, see svg:y1 at specificationsvgY2Value
- the String
value of SvgY2Attribute
, see svg:y2 at specification
Child element is new in Odf 1.2
public DrawMeasureElement newDrawMeasureElement(String svgX1Value, String svgX2Value, String svgY1Value, String svgY2Value)
svgX1Value
- the String
value of SvgX1Attribute
, see svg:x1 at specificationsvgX2Value
- the String
value of SvgX2Attribute
, see svg:x2 at specificationsvgY1Value
- the String
value of SvgY1Attribute
, see svg:y1 at specificationsvgY2Value
- the String
value of SvgY2Attribute
, see svg:y2 at specification
Child element is new in Odf 1.2
public DrawPageThumbnailElement newDrawPageThumbnailElement()
public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue)
svgDValue
- the String
value of SvgDAttribute
, see svg:d at specificationsvgViewBoxValue
- the String
value of SvgViewBoxAttribute
, see svg:viewBox at specification
Child element is new in Odf 1.2
public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue)
drawPointsValue
- the String
value of DrawPointsAttribute
, see draw:points at specificationsvgViewBoxValue
- the String
value of SvgViewBoxAttribute
, see svg:viewBox at specification
Child element is new in Odf 1.2
public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue)
drawPointsValue
- the String
value of DrawPointsAttribute
, see draw:points at specificationsvgViewBoxValue
- the String
value of SvgViewBoxAttribute
, see svg:viewBox at specification
Child element is new in Odf 1.2
public DrawRectElement newDrawRectElement()
public DrawRegularPolygonElement newDrawRegularPolygonElement(boolean drawConcaveValue, int drawCornersValue)
drawConcaveValue
- the Boolean
value of DrawConcaveAttribute
, see draw:concave at specificationdrawCornersValue
- the Integer
value of DrawCornersAttribute
, see draw:corners at specification
Child element is new in Odf 1.2
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 |