com.atlassian.confluence.pages.templates
Class XhtmlTemplateUtils

java.lang.Object
  extended by com.atlassian.confluence.pages.templates.XhtmlTemplateUtils

public class XhtmlTemplateUtils
extends java.lang.Object

Helper to make it easier to convert between the storage format and different types of variables.


Field Summary
static int DEFAULT_COLS
           
static int DEFAULT_ROWS
           
 
Constructor Summary
XhtmlTemplateUtils()
           
 
Method Summary
static Variable extractVariableDeclaration(javax.xml.stream.XMLEventReader parentEventReader, XmlEventReaderFactory xmlEventReaderFactory)
           
static boolean isVariableDeclaration(javax.xml.stream.events.StartElement startElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

XhtmlTemplateUtils

public XhtmlTemplateUtils()
Method Detail

isVariableDeclaration

public static boolean isVariableDeclaration(javax.xml.stream.events.StartElement startElement)

extractVariableDeclaration

public static Variable extractVariableDeclaration(javax.xml.stream.XMLEventReader parentEventReader,
                                                  XmlEventReaderFactory xmlEventReaderFactory)
                                           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2003-2014 Atlassian. All Rights Reserved.