Class Dom2Groovy
java.lang.Object
org.sonatype.maven.polyglot.groovy.Dom2Groovy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckEscaping(String localName) protected voiddefineNamespace(Map namespaces, String prefix, String uri) protected MapdefineNamespaces(Element element, Map namespaces) protected StringescapeQuote(String text) protected StringgetAttributeValue(Attr attribute) protected StringgetLocalName(Node node) protected StringgetTextNodeData(Text node) protected booleanmixedContent(NodeList list) voidprotected voidvoidprotected voidprotected booleanprintAttributes(Element element) protected booleanprintAttributeWithoutPrefix(Attr attribute, boolean hasAttribute) protected voidprintAttributeWithPrefix(Attr attribute, StringBuffer buffer) protected voidprintChildren(Node parent, Map namespaces) protected voidprintComment(Comment comment, boolean endWithComma) protected voidprintElement(Element element, Map namespaces, boolean endWithComma) protected voidprotected voidprotected voidprotected voidprintPI(ProcessingInstruction instruction, boolean endWithComma) protected voidprintQuoted(String text) protected void
-
Field Details
-
keywords
-
out
protected final groovy.util.IndentPrinter out -
inMixed
protected boolean inMixed -
qt
-
-
Constructor Details
-
Dom2Groovy
-
Dom2Groovy
public Dom2Groovy(groovy.util.IndentPrinter out)
-
-
Method Details
-
print
-
print
-
print
-
printElement
-
printQuoted
-
printPI
-
printComment
-
printText
-
escapeQuote
-
defineNamespaces
-
defineNamespace
-
printAttributes
-
printAttributeWithPrefix
-
getAttributeValue
-
printAttributeWithoutPrefix
-
checkEscaping
-
getTextNodeData
-
mixedContent
-
printChildren
-
getLocalName
-
printEnd
-
println
-
print
-
printIndent
protected void printIndent()
-