public abstract class BaseCanonicalizer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BaseCanonicalizer.NamespaceContextImpl |
| Modifier and Type | Field and Description |
|---|---|
protected List |
_attrResult |
protected ArrayList |
_attrs |
protected ArrayList |
_nsAttrs |
protected List |
_nsResult |
protected static int |
initalCacheSize |
| Constructor and Description |
|---|
BaseCanonicalizer()
Creates a new instance of BaseCanonicalizer
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParentNamespaces(List nsDecls) |
protected AttributeNS |
getAttributeNS() |
OutputStream |
getOutputStream() |
static boolean |
namespaceIsAbsolute(String namespaceValue)
Method namespaceIsAbsolute
|
static boolean |
namespaceIsRelative(String namespaceValue)
Method namespaceIsRelative
|
void |
reset() |
protected void |
resize() |
void |
setStream(OutputStream os) |
static void |
sort(List list) |
protected void |
writeAttributes(Attributes attributes,
Iterator itr) |
protected void |
writeAttributesNS(Iterator itr) |
protected ArrayList _attrs
protected ArrayList _nsAttrs
protected List _attrResult
protected List _nsResult
protected static final int initalCacheSize
public BaseCanonicalizer()
public void reset()
public void setStream(OutputStream os)
public OutputStream getOutputStream()
protected final void resize()
public void addParentNamespaces(List nsDecls)
protected AttributeNS getAttributeNS()
protected void writeAttributes(Attributes attributes, Iterator itr) throws IOException
IOExceptionprotected void writeAttributesNS(Iterator itr) throws IOException
IOExceptionpublic static boolean namespaceIsRelative(String namespaceValue)
namespaceValue - public static boolean namespaceIsAbsolute(String namespaceValue)
namespaceValue - public static void sort(List list)
Copyright © 2005–2018 Oracle Corporation. All rights reserved.