org.apache.myfaces.trinidadinternal.image.xml.parse
Class ImageParseUtils

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.image.xml.parse.ImageParseUtils

public class ImageParseUtils
extends java.lang.Object

Utilities for image parsing.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/image/xml/parse/ImageParseUtils.java#0 $) $Date: 10-nov-2005.19:04:40 $
Author:
The Oracle ADF Faces Team

Method Summary
static java.lang.Boolean getBooleanAttributeValue(ParseContext context, org.xml.sax.Attributes attrs, java.lang.String localName)
          Gets a Boolean attribute value.
static java.lang.Integer getIntegerAttributeValue(ParseContext context, org.xml.sax.Attributes attrs, java.lang.String localName)
          Gets an Integer attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBooleanAttributeValue

public static java.lang.Boolean getBooleanAttributeValue(ParseContext context,
                                                         org.xml.sax.Attributes attrs,
                                                         java.lang.String localName)
Gets a Boolean attribute value.

Returns null if the attribute is not specified or can not be parsed. Otherwise, returns Boolean.TRUE or Boolean.FALSE depending on the attribute value.


getIntegerAttributeValue

public static java.lang.Integer getIntegerAttributeValue(ParseContext context,
                                                         org.xml.sax.Attributes attrs,
                                                         java.lang.String localName)
Gets an Integer attribute value.

Returns null if the attribute is not specified or can not be parsed. Otherwise, returns an Integer object indicating the attribute value.



Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.