public class DefaultElementInterceptor extends Object implements ElementInterceptor
Modifier and Type | Field and Description |
---|---|
static ElementInterceptor |
INSTANCE |
Constructor and Description |
---|
DefaultElementInterceptor() |
Modifier and Type | Method and Description |
---|---|
void |
add(Object parent,
Object child,
QName qName) |
void |
attributes(Object o,
QName elementName,
TypeBinding type,
Attributes attrs,
NamespaceContext nsCtx) |
void |
characters(Object o,
QName qName,
TypeBinding type,
NamespaceContext nsCtx,
String text) |
Object |
endElement(Object o,
QName qName,
TypeBinding type) |
Object |
startElement(Object parent,
QName qName,
TypeBinding type) |
public static final ElementInterceptor INSTANCE
public Object startElement(Object parent, QName qName, TypeBinding type)
startElement
in interface ElementInterceptor
public void attributes(Object o, QName elementName, TypeBinding type, Attributes attrs, NamespaceContext nsCtx)
attributes
in interface ElementInterceptor
public void characters(Object o, QName qName, TypeBinding type, NamespaceContext nsCtx, String text)
characters
in interface ElementInterceptor
public Object endElement(Object o, QName qName, TypeBinding type)
endElement
in interface ElementInterceptor
public void add(Object parent, Object child, QName qName)
add
in interface ElementInterceptor
Copyright © 2015 JBoss by Red Hat. All rights reserved.