|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.thymeleaf.fragment.WholeFragmentSpec
public final class WholeFragmentSpec
Implementation of IFragmentSpec
that simply returns
whole templates, this is the same nodes used as input with
no modification, traversing or selection of any kind.
Objects of this class are thread-safe.
Field Summary | |
---|---|
static WholeFragmentSpec |
INSTANCE
Singleton instance. |
Method Summary | |
---|---|
java.util.List<Node> |
extractFragment(Configuration configuration,
java.util.List<Node> nodes)
Executes the fragment specification against a list of nodes representing a DOM tree (or a set of trees), returning the extracted nodes. |
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final WholeFragmentSpec INSTANCE
Singleton instance.
This instance is thread-safe.
Method Detail |
---|
public java.util.List<Node> extractFragment(Configuration configuration, java.util.List<Node> nodes)
IFragmentSpec
Executes the fragment specification against a list of nodes representing a DOM tree (or a set of trees), returning the extracted nodes.
extractFragment
in interface IFragmentSpec
configuration
- the configuration object.nodes
- the list of nodes on which to apply extraction.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |