Package jadex.xml
Class AttributeInfo
- java.lang.Object
-
- jadex.xml.AttributeInfo
-
public class AttributeInfo extends java.lang.ObjectBase class for attribute infos.
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessInfoaccessinfoThe access info.static java.lang.StringCOMMENTConstant for identifying comment.static java.lang.StringCONTENTConstant for identifying content.protected IAttributeConverterconverterThe attribute converter.protected java.lang.StringidIs this attribute used as id or idref.static java.lang.StringIDThe value of this attribute is used as id.static java.lang.StringIDREFThe value of this attribute is used as idref.
-
Constructor Summary
Constructors Constructor Description AttributeInfo(AccessInfo accessinfo)Create a new attribute info.AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter)Create a new attribute info.AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter, java.lang.String id)Create a new attribute info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessInfogetAccessInfo()Get the accessinfo.java.lang.ObjectgetAttributeIdentifier()Get the attributeidentifier.IAttributeConvertergetConverter()Get the attribute converter.java.lang.StringgetId()Get the id.QName[]getXMLAttributeNames()Get the attribute name as path.booleanisIgnoreRead()Is ignore read.booleanisIgnoreWrite()Is ignore write.
-
-
-
Field Detail
-
CONTENT
public static final java.lang.String CONTENT
Constant for identifying content.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Constant for identifying comment.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
The value of this attribute is used as id.- See Also:
- Constant Field Values
-
IDREF
public static final java.lang.String IDREF
The value of this attribute is used as idref.- See Also:
- Constant Field Values
-
accessinfo
protected AccessInfo accessinfo
The access info.
-
converter
protected IAttributeConverter converter
The attribute converter.
-
id
protected java.lang.String id
Is this attribute used as id or idref.
-
-
Constructor Detail
-
AttributeInfo
public AttributeInfo(AccessInfo accessinfo)
Create a new attribute info.
-
AttributeInfo
public AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter)
Create a new attribute info.
-
AttributeInfo
public AttributeInfo(AccessInfo accessinfo, IAttributeConverter converter, java.lang.String id)
Create a new attribute info.
-
-
Method Detail
-
getAccessInfo
public AccessInfo getAccessInfo()
Get the accessinfo.- Returns:
- The accessinfo.
-
getAttributeIdentifier
public java.lang.Object getAttributeIdentifier()
Get the attributeidentifier.- Returns:
- The attributeidentifier.
-
getXMLAttributeNames
public QName[] getXMLAttributeNames()
Get the attribute name as path.- Returns:
- The attribute names.
-
isIgnoreRead
public boolean isIgnoreRead()
Is ignore read.- Returns:
- True, if should be ignored when reading.
-
isIgnoreWrite
public boolean isIgnoreWrite()
Is ignore write.- Returns:
- True, if should be ignored when writing.
-
getConverter
public IAttributeConverter getConverter()
Get the attribute converter.- Returns:
- The converter.
-
getId
public java.lang.String getId()
Get the id.- Returns:
- The id.
-
-