Uses of Interface
org.simpleframework.xml.strategy.Type
-
Packages that use Type Package Description org.simpleframework.xml.convert org.simpleframework.xml.core org.simpleframework.xml.strategy -
-
Uses of Type in org.simpleframework.xml.convert
Methods in org.simpleframework.xml.convert with parameters of type Type Modifier and Type Method Description private Convert
ConverterScanner. getConvert(Type type)
This method is used to scan the providedType
for an annotation.private Convert
ConverterScanner. getConvert(Type type, java.lang.Class real)
This method is used to scan the providedType
for an annotation.Converter
ConverterScanner. getConverter(Type type, java.lang.Object value)
This method will lookup and instantiate a converter found from scanning the field or method type provided.Converter
ConverterScanner. getConverter(Type type, Value value)
This method will lookup and instantiate a converter found from scanning the field or method type provided.private java.lang.Class
ConverterScanner. getType(Type type, java.lang.Object value)
This is used to acquire the class that should be scanned.private java.lang.Class
ConverterScanner. getType(Type type, Value value)
This is used to acquire the class that should be scanned.private Converter
RegistryStrategy. lookup(Type type, java.lang.Object value)
This is used to acquire aConverter
instance for the provided object instance.private Converter
RegistryStrategy. lookup(Type type, Value value)
This is used to acquire aConverter
instance for the provided value object.Value
AnnotationStrategy. read(Type type, NodeMap<InputNode> node, java.util.Map map)
This is used to read theValue
which will be used to represent the deserialized object.private Value
AnnotationStrategy. read(Type type, NodeMap<InputNode> node, Value value)
This is used to read theValue
which will be used to represent the deserialized object.Value
RegistryStrategy. read(Type type, NodeMap<InputNode> node, java.util.Map map)
This is used to read theValue
which will be used to represent the deserialized object.private Value
RegistryStrategy. read(Type type, NodeMap<InputNode> node, Value value)
This is used to read theValue
which will be used to represent the deserialized object.private boolean
AnnotationStrategy. write(Type type, java.lang.Object value, NodeMap<OutputNode> node)
This is used to serialize a representation of the object value provided.boolean
AnnotationStrategy. write(Type type, java.lang.Object value, NodeMap<OutputNode> node, java.util.Map map)
This is used to serialize a representation of the object value provided.private boolean
RegistryStrategy. write(Type type, java.lang.Object value, NodeMap<OutputNode> node)
This is used to serialize a representation of the object value provided.boolean
RegistryStrategy. write(Type type, java.lang.Object value, NodeMap<OutputNode> node, java.util.Map map)
This is used to serialize a representation of the object value provided. -
Uses of Type in org.simpleframework.xml.core
Subinterfaces of Type in org.simpleframework.xml.core Modifier and Type Interface Description (package private) interface
Contact
TheContact
interface is used to provide a point of contact with an object.Classes in org.simpleframework.xml.core that implement Type Modifier and Type Class Description private static class
AttributeParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.(package private) class
ClassType
TheClassType
object is used to represent a type that is neither a field or method.private static class
ElementArrayParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.private static class
ElementListParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.private static class
ElementListUnionParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.private static class
ElementMapParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.private static class
ElementMapUnionParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.private static class
ElementParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.private static class
ElementUnionParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.(package private) class
FieldContact
TheFieldContact
object is used to act as a contact for a field within an object.(package private) class
MethodContact
TheMethodContact
object is acts as a contact that can set and get data to and from an object using methods.(package private) class
OverrideType
TheOverrideType
is used to represent a type as class other than that defined in a containing type.(package private) class
ParameterContact<T extends java.lang.annotation.Annotation>
TheParameterContact
object is used to represent a contact that is provided so that aLabel
can be used to determine a consistent name for the parameter.private static class
TextParameter.Contact
TheContact
represents a contact object that is to be used for a label in order to extract a parameter name.Fields in org.simpleframework.xml.core declared as Type Modifier and Type Field Description private Type
CacheLabel. depend
This is used to represent the dependent type to be used.private Type
CompositeArray. entry
This is the entry type for elements within the array.private Type
CompositeInlineList. entry
This is the entry type for elements within the list.private Type
CompositeList. entry
This is the entry type for elements within the list.private Type
PrimitiveArray. entry
This is the type of object that will be held in the list.private Type
PrimitiveInlineList. entry
This is the type of object that will be held in the list.private Type
PrimitiveList. entry
This is the type of object that will be held within the list.private Type
Composite. type
This is the type that this composite produces instances of.private Type
CompositeArray. type
This represents the actual field or method for the array.private Type
CompositeInlineList. type
This represents the actual method or field for the list.private Type
CompositeKey. type
This represents the type of object the key is written as.private Type
CompositeList. type
This is the field or method that has been annotated.private Type
CompositeListUnion. type
This is the type field or method annotated as a union.private Type
CompositeMapUnion. type
This is the type field or method annotated as a union.private Type
CompositeUnion. type
This is the type field or method annotated as a union.private Type
CompositeValue. type
This represents the type of object the value is written as.protected Type
Factory. type
This is the field type that the class must be assignable to.private Type
OverrideType. type
This is the type associated with this override type.protected Type
PathParser. type
This is the type the expressions are to be parsed for.private Type
Primitive. type
This is the actual method or field that has been annotated.private Type
PrimitiveArray. type
This represents the actual field or method for the array.private Type
PrimitiveKey. type
Represents the primitive type the key is serialized to and from.private Type
PrimitiveValue. type
Represents the primitive type the value is serialized to and from.private Type
TextList. type
This is a string type which is used for all free text data.Methods in org.simpleframework.xml.core that return Type Modifier and Type Method Description Type
CacheLabel. getDependent()
This returns the dependent type for the annotation.Type
ElementArrayLabel. getDependent()
This is used to acquire the dependent type for the annotated array.Type
ElementListLabel. getDependent()
This is used to acquire the dependent type for the annotated list.Type
ElementListUnionLabel. getDependent()
This returns the dependent type for the annotation.Type
ElementMapLabel. getDependent()
This is used to acquire the dependent type for the annotated list.Type
ElementMapUnionLabel. getDependent()
This returns the dependent type for the annotation.Type
ElementUnionLabel. getDependent()
This returns the dependent type for the annotation.Type
Introspector. getDependent()
This returns the dependent type for the annotation.Type
Label. getDependent()
This returns the dependent type for the annotation.Type
TemplateLabel. getDependent()
This is used to acquire the dependent class for this label.Type
TextListLabel. getDependent()
This is used to acquire the dependent class for this label.Type
Variable. getDependent()
This returns the dependent type for the annotation.protected Type
Entry. getKeyType()
This is used to acquire the dependent key for the annotated map.private Type
ElementMapLabel. getMap()
This returns the map type for this label.private Type
Factory. getPrimitive(Type type, java.lang.Class expect)
This is used to convert theType
provided as an overridden type.Type
CacheLabel. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.Type
ElementLabel. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.Type
ElementListUnionLabel. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.Type
ElementMapUnionLabel. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.Type
ElementUnionLabel. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.Type
Label. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.Type
TemplateLabel. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.private Type
Traverser. getType(java.lang.Class type)
This is used to acquire a type for the provided class.Type
Variable. getType(java.lang.Class type)
This is used to acquire theType
that the type provided is represented by.protected Type
Entry. getValueType()
This is used to acquire the dependent value for the annotated map.Methods in org.simpleframework.xml.core with parameters of type Type Modifier and Type Method Description Value
Context. getOverride(Type type, InputNode node)
This is used to resolve and load a class for the given element.Value
Source. getOverride(Type type, InputNode node)
This is used to resolve and load a class for the given element.private Type
Factory. getPrimitive(Type type, java.lang.Class expect)
This is used to convert theType
provided as an overridden type.java.lang.Class
Context. getType(Type type, java.lang.Object value)
This is used to determine the type of an object given the source instance.java.lang.Class
Source. getType(Type type, java.lang.Object value)
This is used to determine the type of an object given the source instance.boolean
Context. isFloat(Type type)
This is used to determine if the type specified is a floating point type.boolean
Source. isFloat(Type type)
This is used to determine if the type specified is a floating point type.private boolean
Composite. isOverridden(OutputNode node, java.lang.Object value, Type type)
This is used to determine whether the specified value has been overridden by the strategy.boolean
Context. isPrimitive(Type type)
This is used to determine whether the scanned type represents a primitive type.boolean
Source. isPrimitive(Type type)
This is used to determine whether the scanned type represents a primitive type.boolean
Context. setOverride(Type type, java.lang.Object value, OutputNode node)
This is used to attach elements or attributes to the given element during the serialization process.boolean
Factory. setOverride(Type type, java.lang.Object value, OutputNode node)
This method is used to set the override class within an element.boolean
Source. setOverride(Type type, java.lang.Object value, OutputNode node)
This is used to attach elements or attributes to the given element during the serialization process.private void
Composite. writeNamespaces(OutputNode node, Type type, Label label)
This is used to applyDecorator
objects to the provided node before it is written.Constructors in org.simpleframework.xml.core with parameters of type Type Constructor Description ArrayFactory(Context context, Type type)
Constructor for theArrayFactory
object.CollectionFactory(Context context, Type type)
Constructor for theCollectionFactory
object.Composite(Context context, Type type)
Constructor for theComposite
object.Composite(Context context, Type type, java.lang.Class override)
Constructor for theComposite
object.CompositeArray(Context context, Type type, Type entry, java.lang.String parent)
Constructor for theCompositeArray
object.CompositeInlineList(Context context, Type type, Type entry, java.lang.String name)
Constructor for theCompositeInlineList
object.CompositeInlineMap(Context context, Entry entry, Type type)
Constructor for theCompositeMap
object.CompositeKey(Context context, Entry entry, Type type)
Constructor for theCompositeKey
object.CompositeList(Context context, Type type, Type entry, java.lang.String name)
Constructor for theCompositeList
object.CompositeListUnion(Context context, Group group, Expression path, Type type)
Constructor for theCompositeListUnion
object.CompositeMap(Context context, Entry entry, Type type)
Constructor for theCompositeMap
object.CompositeMapUnion(Context context, Group group, Expression path, Type type)
Constructor for theCompositeMapUnion
object.CompositeUnion(Context context, Group group, Expression path, Type type)
Constructor for theCompositeUnion
object.CompositeValue(Context context, Entry entry, Type type)
Constructor for theCompositeValue
object.Factory(Context context, Type type)
Constructor for theFactory
object.Factory(Context context, Type type, java.lang.Class override)
Constructor for theFactory
object.MapFactory(Context context, Type type)
Constructor for theMapFactory
object.ObjectFactory(Context context, Type type, java.lang.Class override)
Constructor for theObjectFactory
class.OverrideType(Type type, java.lang.Class override)
Constructor for theOverrideType
object.PathParser(java.lang.String path, Type type, Format format)
Constructor for thePathParser
object.Primitive(Context context, Type type)
Constructor for thePrimitive
object.Primitive(Context context, Type type, java.lang.String empty)
Constructor for thePrimitive
object.PrimitiveArray(Context context, Type type, Type entry, java.lang.String parent)
Constructor for thePrimitiveArray
object.PrimitiveFactory(Context context, Type type)
Constructor for thePrimitiveFactory
object.PrimitiveFactory(Context context, Type type, java.lang.Class override)
Constructor for thePrimitiveFactory
object.PrimitiveInlineList(Context context, Type type, Type entry, java.lang.String parent)
Constructor for thePrimitiveInlineList
object.PrimitiveKey(Context context, Entry entry, Type type)
Constructor for thePrimitiveKey
object.PrimitiveList(Context context, Type type, Type entry, java.lang.String parent)
Constructor for thePrimitiveList
object.PrimitiveValue(Context context, Entry entry, Type type)
Constructor for thePrimitiveValue
object.TextList(Context context, Type list, Label label)
Constructor for theTextList
object. -
Uses of Type in org.simpleframework.xml.strategy
Methods in org.simpleframework.xml.strategy with parameters of type Type Modifier and Type Method Description Value
CycleStrategy. read(Type type, NodeMap node, java.util.Map map)
This method is used to read an object from the specified node.Value
ReadGraph. read(Type type, NodeMap node)
This is used to recover the object references from the document using the special attributes specified.Value
Strategy. read(Type type, NodeMap<InputNode> node, java.util.Map map)
This is used to resolve and load a class for the given element.Value
TreeStrategy. read(Type type, NodeMap node, java.util.Map map)
This is used to resolve and load a class for the given element.void
Visitor. read(Type type, NodeMap<InputNode> node)
This is used to intercept an XML element before it is read by the underlyingStrategy
implementation.Value
VisitorStrategy. read(Type type, NodeMap<InputNode> node, java.util.Map map)
This method will read with an internal strategy after it has been intercepted by the visitor.private Value
ReadGraph. readArray(Type type, java.lang.Class real, NodeMap node)
This is used to acquire theValue
which can be used to represent the deserialized value.private Value
ReadGraph. readInstance(Type type, java.lang.Class real, NodeMap node)
This is used to recover the object references from the document using the special attributes specified.private Value
ReadGraph. readReference(Type type, java.lang.Class real, NodeMap node)
This is used to recover the object references from the document using the special attributes specified.private Value
ReadGraph. readValue(Type type, java.lang.Class real, NodeMap node)
This is used to acquire theValue
which can be used to represent the deserialized value.private Value
ReadGraph. readValue(Type type, java.lang.Class real, NodeMap node, java.lang.String key)
This is used to acquire theValue
which can be used to represent the deserialized value.private java.lang.Class
TreeStrategy. readValue(Type type, NodeMap node)
This is used to resolve and load a class for the given element.boolean
CycleStrategy. write(Type type, java.lang.Object value, NodeMap node, java.util.Map map)
This is used to write the reference in to the XML element that is to be written.boolean
Strategy. write(Type type, java.lang.Object value, NodeMap<OutputNode> node, java.util.Map map)
This is used to attach attribute values to the given node map during the serialization process.boolean
TreeStrategy. write(Type type, java.lang.Object value, NodeMap node, java.util.Map map)
This is used to attach a attribute to the provided element that is used to identify the class.void
Visitor. write(Type type, NodeMap<OutputNode> node)
This is used to intercept an XML element after it is written by the underlyingStrategy
implementation.boolean
VisitorStrategy. write(Type type, java.lang.Object value, NodeMap<OutputNode> node, java.util.Map map)
This method will write with an internal strategy before it has been intercepted by the visitor.boolean
WriteGraph. write(Type type, java.lang.Object value, NodeMap node)
This is used to write the XML element attributes representing the serialized object instance.
-