public class MinifyHelperPomImpl extends Object implements MinifyHelper
| Modifier and Type | Field and Description |
|---|---|
static XPathExpression |
configPath |
static com.google.common.base.Function<String,String> |
cssIncludePattern |
static com.google.common.base.Function<String,String> |
jsIncludePattern |
| Constructor and Description |
|---|
MinifyHelperPomImpl(Configuration config,
boolean isDebugEnabled) |
| Modifier and Type | Method and Description |
|---|---|
static XPathExpression |
compile(String expressionStr) |
static MinifyHelper |
create() |
static MinifyHelperPomImpl |
create(InputStream in,
boolean isDebugEnabled) |
String |
createCssIncludeStr() |
String |
createJsIncludeStr() |
static Node |
evalToNode(XPathExpression xpath,
Node node) |
static Configuration |
getConfiguration(Document doc) |
static <T> T |
unmarshal(InputStream in,
Class<T> clazz) |
static <T> T |
unmarshal(Node node,
Class<T> clazz) |
public static final com.google.common.base.Function<String,String> cssIncludePattern
public static final com.google.common.base.Function<String,String> jsIncludePattern
public static final XPathExpression configPath
public MinifyHelperPomImpl(Configuration config, boolean isDebugEnabled)
public static XPathExpression compile(String expressionStr)
public static Node evalToNode(XPathExpression xpath, Node node) throws XPathExpressionException
XPathExpressionExceptionpublic String createCssIncludeStr()
createCssIncludeStr in interface MinifyHelperpublic String createJsIncludeStr()
createJsIncludeStr in interface MinifyHelperpublic static Configuration getConfiguration(Document doc) throws Exception
Exceptionpublic static <T> T unmarshal(Node node, Class<T> clazz) throws JAXBException
JAXBExceptionpublic static <T> T unmarshal(InputStream in, Class<T> clazz) throws Exception
Exceptionpublic static MinifyHelperPomImpl create(InputStream in, boolean isDebugEnabled) throws Exception
Exceptionpublic static MinifyHelper create() throws Exception
ExceptionCopyright © 2013 Agile Knowledge Engineering and Semantic Web. All Rights Reserved.