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

Method Summary
static void parseDetailedCloseElement(char[] buffer, int offset, int len, int line, int col, IDetailedElementHandling handler)
           
static void parseDetailedOpenElement(char[] buffer, int offset, int len, int line, int col, IDetailedElementHandling handler)
           
static void parseDetailedStandaloneElement(char[] buffer, int offset, int len, int line, int col, IDetailedElementHandling handler)
           
static void parseElement(char[] buffer, int offset, int len, int line, int col, IBasicElementHandling handler)
           
static boolean tryParseDetailedCloseElement(char[] buffer, int offset, int len, int line, int col, IDetailedElementHandling handler)
           
static boolean tryParseDetailedOpenElement(char[] buffer, int offset, int len, int line, int col, IDetailedElementHandling handler)
           
static boolean tryParseDetailedStandaloneElement(char[] buffer, int offset, int len, int line, int col, IDetailedElementHandling handler)
           
static boolean 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
 

Method Detail

parseElement

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

tryParseElement

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

parseDetailedStandaloneElement

public static void parseDetailedStandaloneElement(char[] buffer,
                                                  int offset,
                                                  int len,
                                                  int line,
                                                  int col,
                                                  IDetailedElementHandling handler)
                                           throws AttoParseException
Throws:
AttoParseException

parseDetailedOpenElement

public static void parseDetailedOpenElement(char[] buffer,
                                            int offset,
                                            int len,
                                            int line,
                                            int col,
                                            IDetailedElementHandling handler)
                                     throws AttoParseException
Throws:
AttoParseException

parseDetailedCloseElement

public static void parseDetailedCloseElement(char[] buffer,
                                             int offset,
                                             int len,
                                             int line,
                                             int col,
                                             IDetailedElementHandling handler)
                                      throws AttoParseException
Throws:
AttoParseException

tryParseDetailedStandaloneElement

public static boolean tryParseDetailedStandaloneElement(char[] buffer,
                                                        int offset,
                                                        int len,
                                                        int line,
                                                        int col,
                                                        IDetailedElementHandling handler)
                                                 throws AttoParseException
Throws:
AttoParseException

tryParseDetailedOpenElement

public static boolean tryParseDetailedOpenElement(char[] buffer,
                                                  int offset,
                                                  int len,
                                                  int line,
                                                  int col,
                                                  IDetailedElementHandling handler)
                                           throws AttoParseException
Throws:
AttoParseException

tryParseDetailedCloseElement

public static boolean tryParseDetailedCloseElement(char[] buffer,
                                                   int offset,
                                                   int len,
                                                   int line,
                                                   int col,
                                                   IDetailedElementHandling handler)
                                            throws AttoParseException
Throws:
AttoParseException


Copyright © 2013 The ATTOPARSER team. All Rights Reserved.