|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 namespaceMethod Detail |
---|
public org.joda.time.DateTime getValue()
getValue
in interface XSDateTime
public void setValue(org.joda.time.DateTime newValue)
setValue
in interface XSDateTime
newValue
- the dateTime valuepublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
public 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 XSDateTime
public 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 XSDateTime
newFormatter
- the new formatter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |