public interface RuntimeClassInfo extends ClassInfo<Type,Class>, RuntimeNonElement
ANYTYPE_NAME| Modifier and Type | Method and Description |
|---|---|
<BeanT> Accessor<BeanT,Map<QName,String>> |
getAttributeWildcard()
If
ClassInfo.hasAttributeWildcard() is true,
returns the accessor to access the property. |
RuntimeClassInfo |
getBaseClass()
Obtains the information about the base class.
|
Method |
getFactoryMethod() |
<BeanT> Accessor<BeanT,Locator> |
getLocatorField()
If this JAXB bean has a property annotated with
XmlLocation,
this method returns it. |
List<? extends RuntimePropertyInfo> |
getProperties()
Returns all the properties newly declared in this class.
|
RuntimePropertyInfo |
getProperty(String name)
Gets the property that has the specified name.
|
declaresAttributeWildcard, getClazz, getName, hasAttributeWildcard, hasProperties, hasSubClasses, hasValueProperty, inheritsAttributeWildcard, isAbstract, isFinal, isOrderedasElement, getElementName, isElementgetTypeName, isSimpleTypecanBeReferencedByIDREF, getTypegetLocation, getUpstreamgetTransducerRuntimeClassInfo getBaseClass()
ClassInfogetBaseClass in interface ClassInfo<Type,Class>Object.List<? extends RuntimePropertyInfo> getProperties()
ClassInfoThis excludes properties defined in the super class.
If the properties are ordered,
it will be returned in the order that appear in XML.
Otherwise it will be returned in no particular order.
Properties marked with XmlTransient will not show up
in this list. As far as JAXB is concerned, they are considered
non-existent.
getProperties in interface ClassInfo<Type,Class>RuntimePropertyInfo getProperty(String name)
ClassInfoThis is just a convenience method for:
for( PropertyInfo p : getProperties() ) {
if(p.getName().equals(name))
return p;
}
return null;
getProperty in interface ClassInfo<Type,Class>PropertyInfo.getName()Method getFactoryMethod()
<BeanT> Accessor<BeanT,Map<QName,String>> getAttributeWildcard()
ClassInfo.hasAttributeWildcard() is true,
returns the accessor to access the property.ClassInfo.hasAttributeWildcard()==true.Accessor.optimize(JAXBContextImpl)<BeanT> Accessor<BeanT,Locator> getLocatorField()
XmlLocation,
this method returns it.Copyright © 2018 JBoss by Red Hat. All rights reserved.