Package jadex.xml
Class AbstractInfo
- java.lang.Object
-
- jadex.xml.AbstractInfo
-
- Direct Known Subclasses:
SubobjectInfo
,TypeInfo
public class AbstractInfo extends java.lang.Object
Superclass for XML object type/link infos.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractInfo.SpecificityComparator
Compare infos by specificity of the XML path.
-
Constructor Summary
Constructors Constructor Description AbstractInfo(XMLInfo xmlinfo)
Create an abstract OAV info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFilter<java.lang.Object>
getFilter()
Get the filter.int
getId()
Get the id.XMLInfo
getXMLInfo()
Get the xmlinfo.java.lang.String
getXMLPath()
Get the xmlpathint
getXMLPathDepth()
Get the path depth.QName[]
getXMLPathElements()
Get the xmlpath as string array.QName[]
getXMLPathElementsWithoutElement()
Get the xml path without element.QName
getXMLTag()
Get the xml tagjava.lang.String
toString()
Get a string representation of this mapping.
-
-
-
Constructor Detail
-
AbstractInfo
public AbstractInfo(XMLInfo xmlinfo)
Create an abstract OAV info.
-
-
Method Detail
-
getXMLInfo
public XMLInfo getXMLInfo()
Get the xmlinfo.- Returns:
- The xmlinfo.
-
getXMLPath
public java.lang.String getXMLPath()
Get the xmlpath
-
getXMLTag
public QName getXMLTag()
Get the xml tag
-
getXMLPathElements
public QName[] getXMLPathElements()
Get the xmlpath as string array.- Returns:
- The xmlpath.
-
getXMLPathElementsWithoutElement
public QName[] getXMLPathElementsWithoutElement()
Get the xml path without element.
-
getXMLPathDepth
public int getXMLPathDepth()
Get the path depth.
-
getFilter
public IFilter<java.lang.Object> getFilter()
Get the filter.- Returns:
- the filter
-
getId
public int getId()
Get the id.- Returns:
- The id.
-
toString
public java.lang.String toString()
Get a string representation of this mapping.- Overrides:
toString
in classjava.lang.Object
-
-