/** * Starts parsing. * * @param attrs * the attributes. * @throws SAXException * if there is a parsing error. */ protected void startParsing( final Attributes attrs ) throws SAXException { super.startParsing( attrs ); }
protected void startParsing( final Attributes attrs ) throws SAXException { super.startParsing( attrs ); }
/** * Starts parsing. * * @param attrs the attributes. * @throws org.xml.sax.SAXException if there is a parsing error. */ protected void startParsing( final Attributes attrs ) throws SAXException { super.startParsing( attrs ); name = attrs.getValue( ODFMetaAttributeNames.Meta.NAMESPACE, "name" ); valueType = attrs.getValue( ODFMetaAttributeNames.Meta.NAMESPACE, "value-type" ); value = attrs.getValue( ODFMetaAttributeNames.Office.NAMESPACE, "value" ); }
protected void startParsing( final Attributes attrs ) throws SAXException { name = attrs.getValue( getUri(), "name" ); if ( StringUtils.isEmpty( name ) ) { throw new ParseException( "Attribute 'name' is not defined.", getLocator() ); } super.startParsing( attrs ); }
super.startParsing( attrs ); final String shape = attrs.getValue( getUri(), "shape" ); final String coordinates = attrs.getValue( getUri(), "coords" );
protected void startParsing( final Attributes attrs ) throws SAXException { super.startParsing( attrs ); table.setResultCell( row, column, null ); }
startParsing( attrs ); } else { final XmlReadHandler childHandler = getHandlerForChild( uri, tagName, attrs );
/** * Starts parsing. * * @param attrs * the attributes. * @throws SAXException * if there is a parsing error. */ protected void startParsing( final Attributes attrs ) throws SAXException { super.startParsing( attrs ); final ResourceManager resourceManager = getRootHandler().getResourceManager(); final ResourceKey context = getRootHandler().getContext(); final Configuration configuration = ClassicEngineBoot.getInstance().getGlobalConfig(); final Iterator keys = configuration.findPropertyKeys( ElementMetaDataParser.GLOBAL_INCLUDES_PREFIX ); while ( keys.hasNext() ) { final String key = (String) keys.next(); final String href = configuration.getConfigProperty( key ); if ( StringUtils.isEmpty( href, true ) ) { continue; } try { final ResourceKey resourceKey = resourceManager.deriveKey( context, href ); final Resource resource = resourceManager.create( resourceKey, null, GlobalMetaDefinition.class ); globalMetaDefinition.merge( (GlobalMetaDefinition) resource.getResource() ); } catch ( ResourceException e ) { logger.warn( "Failed to parse included global definitions: " + getLocator(), e ); } } }