goldengate.common.xml
Class XmlDecl
java.lang.Object
goldengate.common.xml.XmlDecl
public class XmlDecl
- extends Object
XmlDecl to declare types, path and name for values from/to XML file/document
- Author:
- Frederic Bregier
Constructor Summary |
XmlDecl(String name,
String xmlPath)
|
XmlDecl(String name,
XmlType type,
String xmlPath)
|
XmlDecl(String name,
XmlType type,
String xmlPath,
boolean isMultiple)
|
XmlDecl(String name,
XmlType type,
String xmlPath,
XmlDecl[] decls,
boolean isMultiple)
|
XmlDecl(XmlType type,
String xmlPath)
|
XmlDecl
public XmlDecl(String name,
String xmlPath)
XmlDecl
public XmlDecl(XmlType type,
String xmlPath)
XmlDecl
public XmlDecl(String name,
XmlType type,
String xmlPath)
XmlDecl
public XmlDecl(String name,
XmlType type,
String xmlPath,
boolean isMultiple)
XmlDecl
public XmlDecl(String name,
XmlType type,
String xmlPath,
XmlDecl[] decls,
boolean isMultiple)
getName
public String getName()
- Get Java field name
- Returns:
- the field name
getClassType
public Class<?> getClassType()
- Returns:
- the class type
getType
public XmlType getType()
- Returns:
- the internal type
getXmlPath
public String getXmlPath()
- Returns:
- the xmlPath
isSubXml
public boolean isSubXml()
- Returns:
- True if this Decl is a subXml
getSubXml
public XmlDecl[] getSubXml()
- Returns:
- the subXml
getSubXmlSize
public int getSubXmlSize()
- Returns:
- the subXml size
isMultiple
public boolean isMultiple()
- Returns:
- the isMultiple
isCompatible
public boolean isCompatible(XmlDecl xmlDecl)
- Check if two XmlDecl are compatible
- Parameters:
xmlDecl
-
- Returns:
- True if compatible
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.