Class XhtmlTemplateUtils
- java.lang.Object
-
- com.atlassian.confluence.pages.templates.XhtmlTemplateUtils
-
public class XhtmlTemplateUtils extends Object
Helper to make it easier to convert between the storage format and different types of variables.
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_COLS
static int
DEFAULT_ROWS
-
Constructor Summary
Constructors Constructor Description XhtmlTemplateUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Variable
extractVariableDeclaration(XMLEventReader parentEventReader, XmlEventReaderFactory xmlEventReaderFactory)
static boolean
isVariableDeclaration(StartElement startElement)
-
-
-
Field Detail
-
DEFAULT_ROWS
public static final int DEFAULT_ROWS
- See Also:
- Constant Field Values
-
DEFAULT_COLS
public static final int DEFAULT_COLS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isVariableDeclaration
public static boolean isVariableDeclaration(StartElement startElement)
-
extractVariableDeclaration
public static Variable extractVariableDeclaration(XMLEventReader parentEventReader, XmlEventReaderFactory xmlEventReaderFactory) throws XMLStreamException
- Throws:
XMLStreamException
-
-