|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.xml.AbstractXMLObject
org.opensaml.xml.validation.AbstractValidatingXMLObject
org.opensaml.xml.schema.impl.XSDateTimeImpl
public class XSDateTimeImpl
Concrete implementation of XSDateTime.
| Field Summary |
|---|
| Fields inherited from interface org.opensaml.xml.schema.XSDateTime |
|---|
TYPE_LOCAL_NAME, TYPE_NAME |
| Constructor Summary | |
|---|---|
protected |
XSDateTimeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
| Method Summary | |
|---|---|
org.joda.time.format.DateTimeFormatter |
getDateTimeFormatter()
Get the DateTimeFormatter to be used when stringifying
the DateTime value. |
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM. |
org.joda.time.DateTime |
getValue()
Gets the dateTime value. |
void |
setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
Set the DateTimeFormatter to be used when stringifying
the DateTime value. |
void |
setValue(org.joda.time.DateTime newValue)
Sets the dateTime value. |
| Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
|---|
deregisterValidator, getValidators, registerValidator, validate |
| Methods inherited from interface org.opensaml.xml.XMLObject |
|---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
| Constructor Detail |
|---|
protected XSDateTimeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
namespaceURI - the namespace the element is inelementLocalName - the local name of the XML element this Object representsnamespacePrefix - the prefix for the given namespace| Method Detail |
|---|
public org.joda.time.DateTime getValue()
getValue in interface XSDateTimepublic void setValue(org.joda.time.DateTime newValue)
setValue in interface XSDateTimenewValue - the dateTime valuepublic List<XMLObject> getOrderedChildren()
getOrderedChildren in interface XMLObjectpublic org.joda.time.format.DateTimeFormatter getDateTimeFormatter()
DateTimeFormatter to be used when stringifying
the DateTime value.
Defaults to the formatter constructed by calling:
org.joda.time.format.ISODateTimeFormat.dateTime().withChronology(org.joda.time.chrono.ISOChronology.getInstanceUTC()
getDateTimeFormatter in interface XSDateTimepublic void setDateTimeFormatter(org.joda.time.format.DateTimeFormatter newFormatter)
DateTimeFormatter to be used when stringifying
the DateTime value.
Defaults to the formatter constructed by calling:
org.joda.time.format.ISODateTimeFormat.dateTime().withChronology(org.joda.time.chrono.ISOChronology.getInstanceUTC()
setDateTimeFormatter in interface XSDateTimenewFormatter - the new formatter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||