public static Class optionalClassAttribute ( final XMLStreamReader reader , final String localName , final Class defaultValue ) throws XMLStreamException { return optionalClassAttribute ( reader , null , localName , defaultValue ) ; }
Returns the value of an attribute as a Class . If the attribute is empty this method returns the default value provided .