public class RAPPNameSpaceItem extends Object
Constructor and Description |
---|
RAPPNameSpaceItem(Class<?> owner)
Constructor with only owner.
|
RAPPNameSpaceItem(Class<?> owner,
String uri,
String prefix)
Constructor with uri and prefix.
|
Modifier and Type | Method and Description |
---|---|
Element |
createElement(Document doc,
String localName)
Utility method to create namespace element.
|
String |
getAttribute(Element e,
String localName)
Utility method to get namespace attribute.
|
String |
getNSDecl()
Get NSDecl (xmlns[:prefix]).
|
Class<?> |
getOwner()
Get owner.
|
String |
getPrefix()
Get prefix.
|
String |
getQName(String localName)
Get QName ([prefix:]localName).
|
String |
getURI()
Get URI.
|
boolean |
isInitiated()
Is URI and prefix initiated (otherwise probably error).
|
void |
setAttribute(Element e,
String localName,
String value)
Utility method to set namespace attribute.
|
void |
setPrefix(String prefix)
Set prefix.
|
void |
setURI(String uri)
Set URI.
|
public RAPPNameSpaceItem(Class<?> owner)
public void setURI(String uri)
public void setPrefix(String prefix)
public String getURI()
public Class<?> getOwner()
public String getPrefix()
public String getNSDecl()
public String getQName(String localName)
public boolean isInitiated()
public Element createElement(Document doc, String localName)
public void setAttribute(Element e, String localName, String value)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.