public class XmlIdResolutionTable
extends java.lang.Object
| Constructor and Description |
|---|
XmlIdResolutionTable() |
XmlIdResolutionTable(boolean includeXmlIdGlobalAttribute) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGlobalIdAttribute(java.lang.String idAttributeLocalName)
Specify an attribute to be globally considered as the ID attribute.
|
void |
addGlobalIdAttribute(java.lang.String idAttributeLocalName,
java.lang.String idAttributeNamespace)
Specify an attribute to be globally considered as the ID attribute.
|
java.util.List<com.lacunasoftware.restpki.XmlIdAttributeModel> |
getElementIdAttributes() |
java.util.List<com.lacunasoftware.restpki.XmlNodeNameModel> |
getGlobalIdAttributes() |
boolean |
isIncludeXmlIdAttribute() |
void |
setElementIdAttribute(java.lang.String elementLocalName,
java.lang.String elementNamespace,
java.lang.String idAttributeLocalName)
Specify the attribute to be considered as the ID attribute for a certain element.
|
void |
setElementIdAttribute(java.lang.String elementLocalName,
java.lang.String elementNamespace,
java.lang.String idAttributeLocalName,
java.lang.String idAttributeNamespace)
Specify the attribute to be considered as the ID attribute for a certain element.
|
void |
setIncludeXmlIdAttribute(boolean includeXmlIdAttribute) |
public XmlIdResolutionTable(boolean includeXmlIdGlobalAttribute)
public XmlIdResolutionTable()
public boolean isIncludeXmlIdAttribute()
public void setIncludeXmlIdAttribute(boolean includeXmlIdAttribute)
public java.util.List<com.lacunasoftware.restpki.XmlNodeNameModel> getGlobalIdAttributes()
public void addGlobalIdAttribute(java.lang.String idAttributeLocalName,
java.lang.String idAttributeNamespace)
idAttributeLocalName - Name of the attribute (e.g.: "id")idAttributeNamespace - Namespace URI of the attribute. If null, the attribute is
regarded as having no namespace. The special value "xml" may be
used to represent the http://www.w3.org/XML/1998/namespace
namespace.public void addGlobalIdAttribute(java.lang.String idAttributeLocalName)
idAttributeLocalName - Name of the attribute (e.g.: "id").public java.util.List<com.lacunasoftware.restpki.XmlIdAttributeModel> getElementIdAttributes()
public void setElementIdAttribute(java.lang.String elementLocalName,
java.lang.String elementNamespace,
java.lang.String idAttributeLocalName,
java.lang.String idAttributeNamespace)
elementLocalName - elementNamespace - idAttributeLocalName - idAttributeNamespace - public void setElementIdAttribute(java.lang.String elementLocalName,
java.lang.String elementNamespace,
java.lang.String idAttributeLocalName)
elementLocalName - elementNamespace - idAttributeLocalName -