Modifier and Type | Field and Description |
---|---|
private ExcC14NTransform |
c14n |
private ScopedNamespaceContext |
context |
private static java.lang.String |
DEFAULT_NS_PREFIX |
private int |
nesting |
private java.util.Map |
nonVisiblyUsed |
private java.util.Map |
parentNamespaces |
private static java.lang.String |
PREFIX_SEP |
private ScopedNamespaceContext |
visiblyUsed |
private static java.lang.String |
XMLNS |
Constructor and Description |
---|
ExcC14NSignObserver(ExcC14NTransform c14n) |
Modifier and Type | Method and Description |
---|---|
private void |
addNonVisiblyUsed(java.lang.String s) |
private void |
addVisiblyUsed(XMLName name) |
private void |
checkAttributes(AttributeIterator iterator) |
private boolean |
closeScope() |
boolean |
consumes()
Determines if the Observer will claim responsibility for consuming the
event.
|
private void |
initNamespaces(StartElement start) |
boolean |
observe(XMLEvent event)
Observes events passing through a stream.
|
private void |
openScope(StartElement start) |
private static java.lang.String |
parsePrefix(java.lang.String value) |
private int nesting
private final ExcC14NTransform c14n
private final ScopedNamespaceContext context
private final ScopedNamespaceContext visiblyUsed
private final java.util.Map nonVisiblyUsed
private java.util.Map parentNamespaces
private static final java.lang.String XMLNS
private static final java.lang.String PREFIX_SEP
private static final java.lang.String DEFAULT_NS_PREFIX
public ExcC14NSignObserver(ExcC14NTransform c14n)
public boolean observe(XMLEvent event) throws XMLStreamException
Observer
observe
in interface Observer
XMLStreamException
private boolean closeScope()
private void openScope(StartElement start)
private void addVisiblyUsed(XMLName name)
private void initNamespaces(StartElement start)
private void checkAttributes(AttributeIterator iterator)
private void addNonVisiblyUsed(java.lang.String s)
private static java.lang.String parsePrefix(java.lang.String value)