biweekly.property
Class Xml
java.lang.Object
biweekly.property.ICalProperty
biweekly.property.ValuedProperty<Document>
biweekly.property.Xml
public class Xml
- extends ValuedProperty<Document>
Used for storing properties parsed from xCal documents whose XML namespaces
are not part of the xCal XML namespace.
- Author:
- Michael Angstadt
- See Also:
- RFC 6321 p.17-8
Constructor Summary |
Xml(Document document)
Creates an XML property. |
Xml(Element element)
Creates an XML property. |
Xml(String xml)
Creates an XML property. |
Methods inherited from class biweekly.property.ICalProperty |
addParameter, getAltRepresentation, getCommonName, getDirectoryEntry, getFormatType, getLanguage, getParameter, getParameters, getParameters, getSentBy, getTimezoneId, removeParameter, setAltRepresentation, setCommonName, setDirectoryEntry, setFormatType, setLanguage, setParameter, setParameter, setParameters, setSentBy, setTimezone, setTimezoneId, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xml
public Xml(String xml)
throws SAXException
- Creates an XML property.
- Parameters:
xml
- the XML to use as the property's value
- Throws:
SAXException
- if the XML cannot be parsed
Xml
public Xml(Element element)
- Creates an XML property.
- Parameters:
element
- the XML element to use as the property's value (the
element is imported into an empty Document
object)
Xml
public Xml(Document document)
- Creates an XML property.
- Parameters:
document
- the XML document to use as the property's value
Copyright © 2013 Michael Angstadt. All Rights Reserved.