BuiltinLeafInfoImpl with a support for runtime.
In particular this class defines Transducers for the built-in types.
| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private abstract static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final List | builtinBeanInfos
List of all |
| private static final String | |
| public static final Map | LEAVES
All instances of |
| private static final Logger | |
| public static final String | |
| public static final RuntimeBuiltinLeafInfoImpl | |
| public static final String | |
| private static final Map | xmlGregorianCalendarFieldRef
Field designations for XMLGregorianCalendar format string. |
| private static final Map | xmlGregorianCalendarFormatString
Format string for the |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static QName | |
| public void | declareNamespace(T o, XMLSerializer w)
Implements org. Declares the namespace URIs used in the given value to |
| private static byte[] | |
| public final Class | |
| public final <V> Transducer | getTransducer()
Implements org. This method doesn't take the reference properties defined on
|
| public QName | getTypeName(T instance)
Implements org. Transducers implicitly work against a single XML type,
but sometimes (most notably |
| public boolean | useNamespace()
Implements org. If true, this doesn't declare any namespace,
and therefore |
| builtinBeanInfos | back to summary |
|---|---|
| public static final List<RuntimeBuiltinLeafInfoImpl<?>> builtinBeanInfos List of all This corresponds to the built-in Java classes that are specified to be handled differently than ordinary classes. See table 8-2 "Mapping of Standard Java classes". | |
| DATE | back to summary |
|---|---|
| private static final String DATE | |
| LEAVES | back to summary |
|---|---|
| public static final Map<Type, RuntimeBuiltinLeafInfoImpl<?>> LEAVES All instances of | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| MAP_ANYURI_TO_URI | back to summary |
|---|---|
| public static final String MAP_ANYURI_TO_URI | |
| STRING | back to summary |
|---|---|
| public static final RuntimeBuiltinLeafInfoImpl<String> STRING | |
| USE_OLD_GMONTH_MAPPING | back to summary |
|---|---|
| public static final String USE_OLD_GMONTH_MAPPING | |
| xmlGregorianCalendarFieldRef | back to summary |
|---|---|
| private static final Map<QName, Integer> xmlGregorianCalendarFieldRef Field designations for XMLGregorianCalendar format string. sec 0x0000001 min 0x0000010 hrs 0x0000100 day 0x0001000 month 0x0010000 year 0x0100000 timezone 0x1000000 | |
| xmlGregorianCalendarFormatString | back to summary |
|---|---|
| private static final Map<QName, String> xmlGregorianCalendarFormatString Format string for the | |
| RuntimeBuiltinLeafInfoImpl | back to summary |
|---|---|
| private RuntimeBuiltinLeafInfoImpl(Class<T> type, QName... typeNames) | |
| checkXmlGregorianCalendarFieldRef | back to summary |
|---|---|
| private static void checkXmlGregorianCalendarFieldRef(QName type, XMLGregorianCalendar cal) throws MarshalException | |
| createXS | back to summary |
|---|---|
| private static QName createXS(String typeName) | |
| declareNamespace | back to summary |
|---|---|
| public void declareNamespace(T o, XMLSerializer w) throws AccessorException Implements org. Doc from org. Declares the namespace URIs used in the given value to
| |
| decodeBase64 | back to summary |
|---|---|
private static byte[] decodeBase64(CharSequence text)
| |
| getClazz | back to summary |
|---|---|
| public final Class Implements org. Doc from org. The same as
Note that the returned
| |
| getTransducer | back to summary |
|---|---|
| public final <V> Transducer Implements org. Doc from org. This method doesn't take the reference properties defined on
| |
| getTypeName | back to summary |
|---|---|
| public QName getTypeName(T instance) Implements org. Doc from org. Transducers implicitly work against a single XML type,
but sometimes (most notably
| |
| useNamespace | back to summary |
|---|---|
| public boolean useNamespace() Implements org. Doc from org. If true, this doesn't declare any namespace,
and therefore
| |
Pcdata.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Pcdata | print(T o)
Redeclares org. Converts the given value to its lexical representation. |
| public final void | writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName)
Implements org. Sends the result of the |
| public final void | writeText(XMLSerializer w, T o, String fieldName)
Implements org. Sends the result of the |
| PcdataImpl | back to summary |
|---|---|
| protected PcdataImpl(Class<T> type, QName... typeNames) | |
| back to summary | |
|---|---|
| public abstract Pcdata print(T o) throws AccessorException Redeclares org. Doc from org. Converts the given value to its lexical representation.
| |
| writeLeafElement | back to summary |
|---|---|
| public final void writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName) throws IOException, SAXException, XMLStreamException, AccessorException Implements org. Doc from org. Sends the result of the
| |
| writeText | back to summary |
|---|---|
| public final void writeText(XMLSerializer w, T o, String fieldName) throws IOException, SAXException, XMLStreamException, AccessorException Implements org. Doc from org. Sends the result of the
| |
String.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract String | print(T o)
Redeclares org. Converts the given value to its lexical representation. |
| public void | writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName)
Implements org. Sends the result of the |
| public void | writeText(XMLSerializer w, T o, String fieldName)
Implements org. Sends the result of the |
| StringImpl | back to summary |
|---|---|
| protected StringImpl(Class<T> type, QName... typeNames) | |
| back to summary | |
|---|---|
| public abstract String print(T o) throws AccessorException Redeclares org. Doc from org. Converts the given value to its lexical representation.
| |
| writeLeafElement | back to summary |
|---|---|
| public void writeLeafElement(XMLSerializer w, Name tagName, T o, String fieldName) throws IOException, SAXException, XMLStreamException, AccessorException Implements org. Doc from org. Sends the result of the
| |
| writeText | back to summary |
|---|---|
| public void writeText(XMLSerializer w, T o, String fieldName) throws IOException, SAXException, XMLStreamException, AccessorException Implements org. Doc from org. Sends the result of the
| |
| Access | Constructor and Description |
|---|---|
| public |
| StringImplImpl | back to summary |
|---|---|
| public StringImplImpl(Class<T> type, QName[] typeNames) | |
| parse | back to summary |
|---|---|
| public String parse(CharSequence text) Implements org. Doc from org. Converts the lexical representation to a value object.
| |
| back to summary | |
|---|---|
| public String print(String s) Implements abstract org. Implements org. Doc from org. Converts the given value to its lexical representation.
| |
| writeLeafElement | back to summary |
|---|---|
| public final void writeLeafElement(XMLSerializer w, Name tagName, String o, String fieldName) throws IOException, SAXException, XMLStreamException Overrides org. Implements org. Doc from org. Sends the result of the
| |
| writeText | back to summary |
|---|---|
| public final void writeText(XMLSerializer w, String o, String fieldName) throws IOException, SAXException, XMLStreamException Overrides org. Implements org. Doc from org. Sends the result of the
| |
RuntimeBuiltinLeafInfoImpl for UUID.
This class is given a name so that failing to load this class won't cause a fatal problem.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UUID | parse(CharSequence text)
Implements org. Converts the lexical representation to a value object. |
| public String | print(UUID v)
Implements abstract org. Implements org. Converts the given value to its lexical representation. |
| UUIDImpl | back to summary |
|---|---|
| public UUIDImpl() | |
| parse | back to summary |
|---|---|
| public UUID parse(CharSequence text) throws SAXException Implements org. Doc from org. Converts the lexical representation to a value object.
| |
| back to summary | |
|---|---|
| public String print(UUID v) Implements abstract org. Implements org. Doc from org. Converts the given value to its lexical representation.
| |