public class Xml extends ValuedProperty<Document>
value
parameters
Constructor and Description |
---|
Xml(Document document)
Creates an XML property.
|
Xml(Element element)
Creates an XML property.
|
Xml(String xml)
Creates an XML property.
|
getValue, getValue, setValue, validate
addParameter, getParameter, getParameters, getParameters, removeParameter, setParameter, setParameter, setParameters, validate
public Xml(String xml) throws SAXException
xml
- the XML to use as the property's valueSAXException
- if the XML cannot be parsedpublic Xml(Element element)
element
- the XML element to use as the property's value (the
element is imported into an empty Document
object)Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.