Modifier and Type | Method and Description |
---|---|
QName |
XmlTypeMappingFactory.createIfAbsent(Class<?> objectType)
Creates a new
TypeMapping for the given object type from its annotations if it is not already registered
in the type mapping registry given to the constructor of the class. |
protected QName |
XmlTypeMappingFactory.getAnnotatedDataTypeName(Annotation annotation,
Class<?> annotationContextClass)
Returns the data type name as declared through the given annotation.
|
Modifier and Type | Method and Description |
---|---|
QName |
XmlConfiguration.getDataTypeAttributeName()
Returns the name of the attribute denoting a data type.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlConfiguration.setDataTypeAttributeName(QName dataTypeAttributeName)
Sets the name of the attribute that denotes the data type of the respective element.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlPullBasedXmlLowLevelSerializer.writeAttribute(QName name,
String value)
Writes an attribute with the given name and value.
|
void |
XmlLowLevelSerializer.writeAttribute(QName name,
String value)
Writes an attribute with the given name and value.
|
void |
StaxBasedXmlLowLevelSerializer.writeAttribute(QName name,
String value)
Writes an attribute with the given name and value.
|
void |
XmlPullBasedXmlLowLevelSerializer.writeDocTypeDeclaration(QName rootElementName,
String publicId,
String systemId)
Writes the DOCTYPE declaration.
|
void |
XmlLowLevelSerializer.writeDocTypeDeclaration(QName rootElementName,
String publicId,
String systemId)
Writes the DOCTYPE declaration.
|
void |
StaxBasedXmlLowLevelSerializer.writeDocTypeDeclaration(QName rootElementName,
String publicId,
String systemId)
Writes the DOCTYPE declaration.
|
void |
XmlPullBasedXmlLowLevelSerializer.writeStartElement(QName name)
Writes the start tag of an element.
|
void |
XmlLowLevelSerializer.writeStartElement(QName name)
Writes the start tag of an element.
|
void |
StaxBasedXmlLowLevelSerializer.writeStartElement(QName name)
Writes the start tag of an element.
|
void |
XmlPullBasedXmlLowLevelSerializer.writeStartElement(QName name,
QName dataTypeName)
Writes the start tag of an element.
|
void |
XmlLowLevelSerializer.writeStartElement(QName name,
QName dataTypeName)
Writes the start tag of an element.
|
void |
StaxBasedXmlLowLevelSerializer.writeStartElement(QName name,
QName dataTypeName)
Writes the start tag of an element.
|
Modifier and Type | Field and Description |
---|---|
static QName |
XmlLowLevelConfiguration.Defaults.DEFAULT_DATA_TYPE_ATTRIBUTE_NAME
The name of the attribute used to denote the data type as used in xml schema instances.
|
Modifier and Type | Method and Description |
---|---|
QName |
XmlLowLevelConfiguration.getDataTypeAttributeName()
Returns the name of the attribute denoting a data type.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlLowLevelConfiguration.setDataTypeAttributeName(QName dataTypeAttributeName)
Sets the name of the attribute that denotes the data type of the respective element.
|
Modifier and Type | Method and Description |
---|---|
QName |
ElementStartImpl.getDataTypeName()
Returns the name of the datatype of the xml element.
|
QName |
ElementStart.getDataTypeName()
Returns the name of the datatype of the xml element.
|
QName |
ElementStartImpl.getName()
Returns the name of the xml element.
|
QName |
ElementStart.getName()
Returns the name of the xml element.
|
QName |
ElementEndImpl.getName()
Returns the name of the xml element.
|
QName |
ElementEnd.getName()
Returns the name of the xml element.
|
QName |
AttributeImpl.getName()
Returns the name of the attribute.
|
QName |
Attribute.getName()
Returns the name of the attribute.
|
Constructor and Description |
---|
AttributeImpl(QName name,
String value)
Constructs a new
AttributeImpl . |
ElementEndImpl(QName name,
int depth)
Constructs a new
ElementEndImpl . |
ElementStartImpl(QName name,
QName dataTypeName,
Attribute[] attributes,
int depth)
Constructs a new
ElementStartImpl . |
Modifier and Type | Method and Description |
---|---|
QName |
ElementDescriptor.getDataTypeName()
Returns the name of the data type of the element.
|
QName |
ElementDescriptor.getName()
Returns the name of the element.
|
QName |
AttributeDescriptor.getName()
Returns the name of the attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
ElementMappingsBuilder.addMapping(QName dataTypeName,
ElementDescriptor elementDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator,
TextMode textMode)
Adds an element mapping to be build.
|
void |
ElementMappingsBuilder.addMapping(QName dataTypeName,
ElementDescriptor elementDescriptor,
FieldDescriptor fieldDescriptor,
Validator validator,
TextMode textMode)
Adds an element mapping to be build.
|
Constructor and Description |
---|
AttributeDescriptor(QName name)
Constructs a new
AttributeDescriptor . |
AttributeMapping(QName dataTypeName,
AttributeDescriptor attributeDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator)
Constructs a new
AttributeMapping for the given data type name, attribute descriptor and
field descriptor. |
ElementDescriptor(QName name,
QName dataTypeName)
Constructs a new
ElementDescriptor . |
ElementMapping(QName dataTypeName,
ElementDescriptor elementDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator,
boolean elementNameIsAmbiguous,
TextMode textMode)
Constructs a new
ElementMapping . |
TextContentMapping(QName dataTypeName,
TextContentDescriptor textContentDescriptor,
FieldDescriptor fieldDescriptor,
Validator validator,
TextMode textMode)
Constructs a new
TextContentMapping for the given data type name, text content descriptor and
field descriptor. |
XmlComplexTypeMapping(Class<?> objectType,
QName dataTypeName,
ObjectAccessor objectAccessor,
Collection<XmlNodeMapping<?>> nodeMappings,
Validator validator)
Constructs a new
XmlComplexTypeMapping . |
XmlEntryPoint(QName dataTypeName,
QName elementName,
Validator validator)
Constructs a new
XmlEntryPoint . |
XmlListTypeMapping(QName dataTypeName,
boolean implicit,
Collection<ElementMapping> elementMappings,
ObjectAccessor objectAccessor)
Constructs a new
XmlListTypeMapping . |
XmlMapTypeMapping(QName dataTypeName,
boolean implicit,
AttributeMapping keyMapping,
Collection<ElementMapping> valueMappings,
ObjectAccessor objectAccessor)
Constructs a new
XmlMapTypeMapping . |
XmlNodeMapping(QName dataTypeName,
T nodeDescriptor,
Class<?> objectType,
FieldDescriptor fieldDescriptor,
Validator validator)
Constructs a new
NodeMapping . |
XmlSimpleTypeMapping(QName dataTypeName,
Class<?> objectType,
SimpleTypeConverter simpleTypeConverter)
Constructs a new
XmlSimpleTypeMapping . |
Modifier and Type | Field and Description |
---|---|
static QName |
XmlSchemaBuiltInDataTypeNames.BOOLEAN_DATA_TYPE_NAME
The name of the XML Schema built-in data type
boolean . |
static QName |
XmlSchemaBuiltInDataTypeNames.INT_DATA_TYPE_NAME
The name of the XML Schema built-in data type
int . |
static QName |
XmlSchemaBuiltInDataTypeNames.INTEGER_DATA_TYPE_NAME
The name of the XML Schema built-in data type
integer . |
static QName |
XmlSchemaBuiltInDataTypeNames.LONG_DATA_TYPE_NAME
The name of the XML Schema built-in data type
long . |
static QName |
XmlSchemaBuiltInDataTypeNames.STRING_DATA_TYPE_NAME
The name of the XML Schema built-in data type
string . |
Modifier and Type | Method and Description |
---|---|
QName |
XmlDataTypeDefaultNameRegistry.get(Class<?> objectType)
Returns the default data type name for the given object type.
|
Modifier and Type | Method and Description |
---|---|
void |
XmlDataTypeDefaultNameRegistry.register(Class<?> objectType,
QName dataTypeName)
Registers the given data type name for the given object type.
|
Modifier and Type | Method and Description |
---|---|
static QName |
QName.create(String localName)
Creates a new
QName with no namespace URI. |
static QName |
QName.create(String uri,
String localName)
Creates a new
QName . |
static QName |
QNameParser.parse(String name,
boolean forElement,
NamespaceManager namespaceManager)
Creates a
QName from a String representation using the given namespace manager for
namespace prefix resolving. |
Copyright © 2014. All rights reserved.