public class AttributeListImpl extends Object implements AttributeList
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
attributeLocalName |
protected List<String> |
attributePrefix |
protected List<String> |
attributeURI |
protected List<String> |
attributeValue |
protected boolean |
hasXsiNil |
protected boolean |
hasXsiType |
protected boolean |
isCanonical |
protected boolean |
isSchemaInformed |
protected List<NamespaceDeclaration> |
nsDecls |
protected boolean |
preservePrefixes |
protected boolean |
preserveSchemaLocation |
static int |
XMLNS_PFX_START |
protected String |
xsiNil |
protected String |
xsiNilPrefix |
protected String |
xsiTypePrefix |
protected String |
xsiTypeRaw |
| Constructor and Description |
|---|
AttributeListImpl(EXIFactory exiFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(QName at,
String value) |
void |
addAttribute(String uri,
String localName,
String pfx,
String value) |
void |
addNamespaceDeclaration(String uri,
String pfx) |
void |
clear() |
String |
getAttributeLocalName(int index) |
String |
getAttributePrefix(int index) |
String |
getAttributeURI(int index) |
String |
getAttributeValue(int index) |
NamespaceDeclaration |
getNamespaceDeclaration(int index) |
int |
getNumberOfAttributes() |
int |
getNumberOfNamespaceDeclarations() |
String |
getXsiNil() |
String |
getXsiNilPrefix() |
String |
getXsiTypePrefix() |
String |
getXsiTypeRaw() |
boolean |
hasXsiNil() |
boolean |
hasXsiType() |
protected void |
insertAttribute(String uri,
String localName,
String pfx,
String value) |
protected boolean |
isGreaterAttribute(int attributeIndex,
String uri,
String localName) |
protected boolean |
isGreaterNS(int nsIndex,
String prefix) |
public static final int XMLNS_PFX_START
protected final boolean isSchemaInformed
protected final boolean isCanonical
protected final boolean preserveSchemaLocation
protected final boolean preservePrefixes
protected boolean hasXsiType
protected String xsiTypeRaw
protected String xsiTypePrefix
protected boolean hasXsiNil
protected String xsiNil
protected String xsiNilPrefix
protected List<NamespaceDeclaration> nsDecls
public AttributeListImpl(EXIFactory exiFactory)
public void clear()
clear in interface AttributeListpublic boolean hasXsiType()
hasXsiType in interface AttributeListpublic String getXsiTypeRaw()
getXsiTypeRaw in interface AttributeListpublic String getXsiTypePrefix()
getXsiTypePrefix in interface AttributeListpublic boolean hasXsiNil()
hasXsiNil in interface AttributeListpublic String getXsiNil()
getXsiNil in interface AttributeListpublic String getXsiNilPrefix()
getXsiNilPrefix in interface AttributeListpublic int getNumberOfAttributes()
getNumberOfAttributes in interface AttributeListpublic String getAttributeURI(int index)
getAttributeURI in interface AttributeListpublic String getAttributeLocalName(int index)
getAttributeLocalName in interface AttributeListpublic String getAttributeValue(int index)
getAttributeValue in interface AttributeListpublic String getAttributePrefix(int index)
getAttributePrefix in interface AttributeListpublic void addNamespaceDeclaration(String uri, String pfx)
addNamespaceDeclaration in interface AttributeListpublic int getNumberOfNamespaceDeclarations()
getNumberOfNamespaceDeclarations in interface AttributeListpublic NamespaceDeclaration getNamespaceDeclaration(int index)
getNamespaceDeclaration in interface AttributeListpublic void addAttribute(QName at, String value)
addAttribute in interface AttributeListpublic void addAttribute(String uri, String localName, String pfx, String value)
addAttribute in interface AttributeListprotected void insertAttribute(String uri, String localName, String pfx, String value)
protected final boolean isGreaterAttribute(int attributeIndex,
String uri,
String localName)
protected final boolean isGreaterNS(int nsIndex,
String prefix)
Copyright © 2018 Siemens AG. All rights reserved.