org.attoparser.markup
Class ElementMarkupParsingUtil

Object
  extended by org.attoparser.markup.ElementMarkupParsingUtil

public final class ElementMarkupParsingUtil
extends Object

Class containing utility methods for parsing elements (tags).

Since:
1.0
Author:
Daniel Fernández

Field Summary
static char[] TRY_PARSE_ELEMENT_FALSE
           
 
Method Summary
static
<T extends IDetailedElementHandling & IConfigurableMarkupHandling>
char[]
parseDetailedCloseElement(char[] buffer, int offset, int len, int line, int col, T handler)
           
static
<T extends IDetailedElementHandling & IConfigurableMarkupHandling>
char[]
parseDetailedOpenElement(char[] buffer, int offset, int len, int line, int col, T handler)
           
static
<T extends IDetailedElementHandling & IConfigurableMarkupHandling>
char[]
parseDetailedStandaloneElement(char[] buffer, int offset, int len, int line, int col, T handler)
           
static char[] parseElement(char[] buffer, int offset, int len, int line, int col, IBasicElementHandling handler)
           
static
<T extends IDetailedElementHandling & IConfigurableMarkupHandling>
char[]
tryParseDetailedCloseElement(char[] buffer, int offset, int len, int line, int col, T handler)
           
static
<T extends IDetailedElementHandling & IConfigurableMarkupHandling>
char[]
tryParseDetailedOpenElement(char[] buffer, int offset, int len, int line, int col, T handler)
           
static
<T extends IDetailedElementHandling & IConfigurableMarkupHandling>
char[]
tryParseDetailedStandaloneElement(char[] buffer, int offset, int len, int line, int col, T handler)
           
static char[] tryParseElement(char[] buffer, int offset, int len, int line, int col, IBasicElementHandling handler)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRY_PARSE_ELEMENT_FALSE

public static final char[] TRY_PARSE_ELEMENT_FALSE
Method Detail

parseElement

public static char[] parseElement(char[] buffer,
                                  int offset,
                                  int len,
                                  int line,
                                  int col,
                                  IBasicElementHandling handler)
                           throws AttoParseException
Throws:
AttoParseException

tryParseElement

public static char[] tryParseElement(char[] buffer,
                                     int offset,
                                     int len,
                                     int line,
                                     int col,
                                     IBasicElementHandling handler)
                              throws AttoParseException
Throws:
AttoParseException

parseDetailedStandaloneElement

public static <T extends IDetailedElementHandling & IConfigurableMarkupHandling> char[] parseDetailedStandaloneElement(char[] buffer,
                                                                                                                      int offset,
                                                                                                                      int len,
                                                                                                                      int line,
                                                                                                                      int col,
                                                                                                                      T handler)
                                             throws AttoParseException
Throws:
AttoParseException

parseDetailedOpenElement

public static <T extends IDetailedElementHandling & IConfigurableMarkupHandling> char[] parseDetailedOpenElement(char[] buffer,
                                                                                                                int offset,
                                                                                                                int len,
                                                                                                                int line,
                                                                                                                int col,
                                                                                                                T handler)
                                       throws AttoParseException
Throws:
AttoParseException

parseDetailedCloseElement

public static <T extends IDetailedElementHandling & IConfigurableMarkupHandling> char[] parseDetailedCloseElement(char[] buffer,
                                                                                                                 int offset,
                                                                                                                 int len,
                                                                                                                 int line,
                                                                                                                 int col,
                                                                                                                 T handler)
                                        throws AttoParseException
Throws:
AttoParseException

tryParseDetailedStandaloneElement

public static <T extends IDetailedElementHandling & IConfigurableMarkupHandling> char[] tryParseDetailedStandaloneElement(char[] buffer,
                                                                                                                         int offset,
                                                                                                                         int len,
                                                                                                                         int line,
                                                                                                                         int col,
                                                                                                                         T handler)
                                                throws AttoParseException
Throws:
AttoParseException

tryParseDetailedOpenElement

public static <T extends IDetailedElementHandling & IConfigurableMarkupHandling> char[] tryParseDetailedOpenElement(char[] buffer,
                                                                                                                   int offset,
                                                                                                                   int len,
                                                                                                                   int line,
                                                                                                                   int col,
                                                                                                                   T handler)
                                          throws AttoParseException
Throws:
AttoParseException

tryParseDetailedCloseElement

public static <T extends IDetailedElementHandling & IConfigurableMarkupHandling> char[] tryParseDetailedCloseElement(char[] buffer,
                                                                                                                    int offset,
                                                                                                                    int len,
                                                                                                                    int line,
                                                                                                                    int col,
                                                                                                                    T handler)
                                           throws AttoParseException
Throws:
AttoParseException


Copyright © 2014 The ATTOPARSER team. All Rights Reserved.