|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.jackson.map.AnnotationIntrospector
org.codehaus.jackson.map.AnnotationIntrospector.Pair
com.fasterxml.jackson.xml.XmlAnnotationIntrospector.Pair
public static class XmlAnnotationIntrospector.Pair
Extension of AnnotationIntrospector.Pair that can
also dispatch 'XmlAnnotationIntrospector' methods.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.codehaus.jackson.map.AnnotationIntrospector |
|---|
org.codehaus.jackson.map.AnnotationIntrospector.Pair, org.codehaus.jackson.map.AnnotationIntrospector.ReferenceProperty |
| Nested classes/interfaces inherited from interface com.fasterxml.jackson.xml.XmlAnnotationIntrospector |
|---|
XmlAnnotationIntrospector.Pair |
| Field Summary | |
|---|---|
protected XmlAnnotationIntrospector |
_xmlPrimary
|
protected XmlAnnotationIntrospector |
_xmlSecondary
|
| Fields inherited from class org.codehaus.jackson.map.AnnotationIntrospector.Pair |
|---|
_primary, _secondary |
| Constructor Summary | |
|---|---|
XmlAnnotationIntrospector.Pair(org.codehaus.jackson.map.AnnotationIntrospector p,
org.codehaus.jackson.map.AnnotationIntrospector s)
|
|
| Method Summary | |
|---|---|
String |
findNamespace(org.codehaus.jackson.map.introspect.Annotated ann)
Method that can be called to figure out generic namespace property for an annotated object. |
QName |
findRootElement(org.codehaus.jackson.map.introspect.Annotated ann)
Method used to find out name to use for the outermost (root) XML element name when serializing (since there is no property that would define it); this overrides default name based on type of object. |
QName |
findWrapperElement(org.codehaus.jackson.map.introspect.Annotated ann)
Method used to check if specified property has annotation that indicates that it should be wrapped in an element; and if so, name to use. |
static XmlAnnotationIntrospector.Pair |
instance(org.codehaus.jackson.map.AnnotationIntrospector a1,
org.codehaus.jackson.map.AnnotationIntrospector a2)
|
Boolean |
isOutputAsAttribute(org.codehaus.jackson.map.introspect.Annotated ann)
Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggest it be output as an XML attribute or not (as element) |
| Methods inherited from class org.codehaus.jackson.map.AnnotationIntrospector.Pair |
|---|
allIntrospectors, allIntrospectors, create, findAutoDetectVisibility, findCachability, findContentDeserializer, findDeserializablePropertyName, findDeserializationContentType, findDeserializationKeyType, findDeserializationType, findDeserializer, findEnumValue, findFilterId, findGettablePropertyName, findIgnoreUnknownProperties, findKeyDeserializer, findPropertiesToIgnore, findPropertyContentTypeResolver, findPropertyNameForParam, findPropertyTypeResolver, findReferenceType, findRootName, findSerializablePropertyName, findSerializationInclusion, findSerializationPropertyOrder, findSerializationSortAlphabetically, findSerializationType, findSerializationTyping, findSerializationViews, findSerializer, findSettablePropertyName, findSubtypes, findTypeName, findTypeResolver, hasAnyGetterAnnotation, hasAnySetterAnnotation, hasAsValueAnnotation, hasCreatorAnnotation, isHandled, isIgnorableConstructor, isIgnorableField, isIgnorableMethod, isIgnorableType |
| Methods inherited from class org.codehaus.jackson.map.AnnotationIntrospector |
|---|
findDeserializer, findSerializer, nopInstance, pair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final XmlAnnotationIntrospector _xmlPrimary
protected final XmlAnnotationIntrospector _xmlSecondary
| Constructor Detail |
|---|
public XmlAnnotationIntrospector.Pair(org.codehaus.jackson.map.AnnotationIntrospector p,
org.codehaus.jackson.map.AnnotationIntrospector s)
| Method Detail |
|---|
public static XmlAnnotationIntrospector.Pair instance(org.codehaus.jackson.map.AnnotationIntrospector a1,
org.codehaus.jackson.map.AnnotationIntrospector a2)
public String findNamespace(org.codehaus.jackson.map.introspect.Annotated ann)
XmlAnnotationIntrospector
findNamespace in interface XmlAnnotationIntrospectorpublic QName findWrapperElement(org.codehaus.jackson.map.introspect.Annotated ann)
XmlAnnotationIntrospector
findWrapperElement in interface XmlAnnotationIntrospectorpublic QName findRootElement(org.codehaus.jackson.map.introspect.Annotated ann)
XmlAnnotationIntrospector
findRootElement in interface XmlAnnotationIntrospectorpublic Boolean isOutputAsAttribute(org.codehaus.jackson.map.introspect.Annotated ann)
XmlAnnotationIntrospector
isOutputAsAttribute in interface XmlAnnotationIntrospector
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||