Modifier and Type | Method | Description |
---|---|---|
default int |
countXmlAttributes() |
|
int |
countXmlAttributes(String filter) |
|
default int |
countXmlElements() |
|
int |
countXmlElements(String filter) |
|
String |
getId() |
The unique identifier of the XML element.
|
String |
getName() |
The name of the XML element.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
Reference |
getValue() |
The value of the XML element.
|
XmlAttribute |
getXmlAttribute(int index) |
|
XmlAttribute |
getXmlAttribute(Id id) |
|
default XmlAttribute[] |
getXmlAttributes() |
|
XmlAttribute[] |
getXmlAttributes(String filter) |
|
XmlElement |
getXmlElement(int index) |
|
XmlElement |
getXmlElement(Id id) |
|
default XmlElement[] |
getXmlElements() |
|
XmlElement[] |
getXmlElements(String filter) |
|
void |
setValue(Reference value) |
The value of the XML element.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("element") @Type("XML attribute") default XmlAttribute[] getXmlAttributes()
XmlAttribute
s@Kind("element") @Type("XML attribute") XmlAttribute[] getXmlAttributes(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"XmlAttribute
s@Kind("element") @Type("XML attribute") XmlAttribute getXmlAttribute(int index)
index
- index into the element list (zero-based)XmlAttribute
at the requested index@Kind("element") @Type("XML attribute") XmlAttribute getXmlAttribute(Id id)
id
- id of the itemXmlAttribute
with the requested id@Kind("element") @Type("XML attribute") default int countXmlAttributes()
XmlAttribute
s@Kind("element") @Type("XML attribute") int countXmlAttributes(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("XML element") default XmlElement[] getXmlElements()
XmlElement
s@Kind("element") @Type("XML element") XmlElement[] getXmlElements(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"XmlElement
s@Kind("element") @Type("XML element") XmlElement getXmlElement(int index)
index
- index into the element list (zero-based)XmlElement
at the requested index@Kind("element") @Type("XML element") XmlElement getXmlElement(Id id)
id
- id of the itemXmlElement
with the requested id@Kind("element") @Type("XML element") default int countXmlElements()
XmlElement
s@Kind("element") @Type("XML element") int countXmlElements(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("ID ") @Kind("property") @Name("id") @Type("text") String getId()
@Code("pnam") @Kind("property") @Name("name") @Type("text") String getName()
@Code("valL") @Kind("property") @Name("value") @Type("any") Reference getValue()
@Code("valL") @Kind("property") @Name("value") @Type("any") void setValue(Reference value)
value
- new property value