public class FacesConfigParser extends Object
| Constructor and Description |
|---|
FacesConfigParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSkipDocumentRoot() |
void |
parse(Element root) |
void |
parseFromClassPath(String resource) |
void |
parseFromRelativePath(String rootPath) |
void |
setOnEndElement(Consumer<Element> onEndElement) |
void |
setOnLeafElementWithText(BiConsumer<Element,Text> onLeafElementWithText) |
void |
setOnStartElement(Consumer<Element> onStartElement) |
void |
setSkipDocumentRoot(boolean skipDocumentRoot) |
public void parseFromRelativePath(String rootPath) throws IOException
IOExceptionpublic void parseFromClassPath(String resource) throws IOException
IOExceptionpublic void parse(Element root) throws IOException
IOExceptionpublic void setOnLeafElementWithText(BiConsumer<Element,Text> onLeafElementWithText)
public boolean isSkipDocumentRoot()
public void setSkipDocumentRoot(boolean skipDocumentRoot)
Copyright © 2010–2019 JBoss by Red Hat. All rights reserved.