com.liferay.faces.util.xml.internal
Class AttributesImpl

java.lang.Object
  extended by com.liferay.faces.util.xml.internal.AttributesImpl
All Implemented Interfaces:
Attributes

public class AttributesImpl
extends Object
implements Attributes

Author:
Neil Griffin

Nested Class Summary
protected  class AttributesImpl.Attribute
           
 
Field Summary
static String TYPE_CDATA
           
static String TYPE_ENTITIES
           
static String TYPE_ENTITY
           
static String TYPE_ID
           
static String TYPE_IDREF
           
static String TYPE_IDREFS
           
static String TYPE_NMTOKEN
           
static String TYPE_NMTOKENS
           
static String TYPE_NOTATION
           
 
Constructor Summary
AttributesImpl()
           
 
Method Summary
 void add(String uri, String localName, String qName, String type, String value)
           
 int getIndex(String qName)
           
 int getIndex(String uri, String localName)
           
 int getLength()
           
 String getLocalName(int index)
           
 String getQName(int index)
           
 String getType(int index)
           
 String getType(String qName)
           
 String getType(String uri, String localName)
           
 String getURI(int index)
           
 String getValue(int index)
           
 String getValue(String qName)
           
 String getValue(String uri, String localName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_CDATA

public static final String TYPE_CDATA
See Also:
Constant Field Values

TYPE_ID

public static final String TYPE_ID
See Also:
Constant Field Values

TYPE_IDREF

public static final String TYPE_IDREF
See Also:
Constant Field Values

TYPE_IDREFS

public static final String TYPE_IDREFS
See Also:
Constant Field Values

TYPE_NMTOKEN

public static final String TYPE_NMTOKEN
See Also:
Constant Field Values

TYPE_NMTOKENS

public static final String TYPE_NMTOKENS
See Also:
Constant Field Values

TYPE_ENTITY

public static final String TYPE_ENTITY
See Also:
Constant Field Values

TYPE_ENTITIES

public static final String TYPE_ENTITIES
See Also:
Constant Field Values

TYPE_NOTATION

public static final String TYPE_NOTATION
See Also:
Constant Field Values
Constructor Detail

AttributesImpl

public AttributesImpl()
Method Detail

add

public void add(String uri,
                String localName,
                String qName,
                String type,
                String value)

getIndex

public int getIndex(String qName)
Specified by:
getIndex in interface Attributes

getIndex

public int getIndex(String uri,
                    String localName)
Specified by:
getIndex in interface Attributes

getLength

public int getLength()
Specified by:
getLength in interface Attributes

getLocalName

public String getLocalName(int index)
Specified by:
getLocalName in interface Attributes

getQName

public String getQName(int index)
Specified by:
getQName in interface Attributes

getType

public String getType(int index)
Specified by:
getType in interface Attributes

getType

public String getType(String qName)
Specified by:
getType in interface Attributes

getType

public String getType(String uri,
                      String localName)
Specified by:
getType in interface Attributes

getURI

public String getURI(int index)
Specified by:
getURI in interface Attributes

getValue

public String getValue(int index)
Specified by:
getValue in interface Attributes

getValue

public String getValue(String qName)
Specified by:
getValue in interface Attributes

getValue

public String getValue(String uri,
                       String localName)
Specified by:
getValue in interface Attributes


Copyright © 2015 Liferay, Inc.. All rights reserved.