Package com.predic8.membrane.core.config
Class AbstractXmlElement
java.lang.Object
com.predic8.membrane.core.config.AbstractXmlElement
- All Implemented Interfaces:
XMLElement
- Direct Known Subclasses:
AbstractClientAddress,AbstractSessionIdExtractor,AccessControl,AccountBlocker,Balancer,ByThreadStrategy,Case,Clients,Component,Exchange,FaultMonitoringStrategy,FormValidationInterceptor.Field,GenericComplexElement,Header,Headers,Host,Message,Node,Param,Path,PlainBody,Port,Query,Resource,REST2SOAPInterceptor.Mapping,RoundRobinStrategy,SessionManager,URI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleangetBoolean(XMLStreamReader token, String attr) protected Stringprotected voidparse(XMLStreamReader token) Needed to resolve interceptor IDs into interceptor beansprotected voidparseAttributes(XMLStreamReader token) protected voidparseCharacters(XMLStreamReader token) protected voidparseChildren(XMLStreamReader token, String child) toXml()voidwrite(XMLStreamWriter out) protected void
-
Constructor Details
-
AbstractXmlElement
public AbstractXmlElement()
-
-
Method Details
-
parse
Needed to resolve interceptor IDs into interceptor beans- Specified by:
parsein interfaceXMLElement- Throws:
Exception
-
doAfterParsing
- Throws:
Exception
-
move2RootElementIfNeeded
- Throws:
XMLStreamException
-
write
- Specified by:
writein interfaceXMLElement- Throws:
XMLStreamException
-
parseAttributes
- Throws:
Exception
-
parseCharacters
- Throws:
XMLStreamException
-
parseChildren
- Throws:
Exception
-
getElementName
-
toXml
- Throws:
Exception
-
getBoolean
-
writeIfNotNull
- Throws:
XMLStreamException
-