public void attributeDecl(String elementName, String attributeName, String attributeType, String[] enumeration, short attributeUse, String defaultValue) throws SAXException { getOrCreateElement(elementName).attributes.add( createAttribute(elementName, attributeName, attributeType, enumeration, attributeUse, defaultValue) ); }
public void attributeDecl(String elementName, String attributeName, String attributeType, String[] enumeration, short attributeUse, String defaultValue) throws SAXException { getOrCreateElement(elementName).attributes.add( createAttribute(elementName, attributeName, attributeType, enumeration, attributeUse, defaultValue) ); }
public void attributeDecl(String elementName, String attributeName, String attributeType, String[] enumeration, short attributeUse, String defaultValue) throws SAXException { getOrCreateElement(elementName).attributes.add( createAttribute(elementName, attributeName, attributeType, enumeration, attributeUse, defaultValue) ); }
public void attributeDecl(String elementName, String attributeName, String attributeType, String[] enumeration, short attributeUse, String defaultValue) throws SAXException { getOrCreateElement(elementName).attributes.add( createAttribute(elementName, attributeName, attributeType, enumeration, attributeUse, defaultValue) ); }
public void attributeDecl(String elementName, String attributeName, String attributeType, String[] enumeration, short attributeUse, String defaultValue) throws SAXException { getOrCreateElement(elementName).attributes.add( createAttribute(elementName, attributeName, attributeType, enumeration, attributeUse, defaultValue) ); }
/** * Define its content model. */ void define(short contentModelType, Term contentModel, Locator locator) { assert this.contentModel==null; // may not be called twice this.contentModelType = contentModelType; this.contentModel = contentModel; this.locator = locator; contentModel.normalize(normalizedBlocks,false); for( Block b : normalizedBlocks ) { if(b.isRepeated || b.elements.size()>1) { for( Element e : b.elements ) { owner.getOrCreateElement(e.name).mustBeClass = true; } } } }
/** * Define its content model. */ void define(short contentModelType, Term contentModel, Locator locator) { assert this.contentModel==null; // may not be called twice this.contentModelType = contentModelType; this.contentModel = contentModel; this.locator = locator; contentModel.normalize(normalizedBlocks,false); for( Block b : normalizedBlocks ) { if(b.isRepeated || b.elements.size()>1) { for( Element e : b.elements ) { owner.getOrCreateElement(e.name).mustBeClass = true; } } } }
/** * Define its content model. */ void define(short contentModelType, Term contentModel, Locator locator) { assert this.contentModel==null; // may not be called twice this.contentModelType = contentModelType; this.contentModel = contentModel; this.locator = locator; contentModel.normalize(normalizedBlocks,false); for( Block b : normalizedBlocks ) { if(b.isRepeated || b.elements.size()>1) { for( Element e : b.elements ) { owner.getOrCreateElement(e.name).mustBeClass = true; } } } }
/** * Define its content model. */ void define(short contentModelType, Term contentModel, Locator locator) { assert this.contentModel==null; // may not be called twice this.contentModelType = contentModelType; this.contentModel = contentModel; this.locator = locator; contentModel.normalize(normalizedBlocks,false); for( Block b : normalizedBlocks ) { if(b.isRepeated || b.elements.size()>1) { for( Element e : b.elements ) { owner.getOrCreateElement(e.name).mustBeClass = true; } } } }
/** * Define its content model. */ void define(short contentModelType, Term contentModel, Locator locator) { assert this.contentModel==null; // may not be called twice this.contentModelType = contentModelType; this.contentModel = contentModel; this.locator = locator; contentModel.normalize(normalizedBlocks,false); for( Block b : normalizedBlocks ) { if(b.isRepeated || b.elements.size()>1) { for( Element e : b.elements ) { owner.getOrCreateElement(e.name).mustBeClass = true; } } } }
public void childElement(String elementName, short occurence) throws SAXException { Element child = getOrCreateElement(elementName); modelGroups.peek().addTerm( Occurence.wrap( child, occurence ) ); child.isReferenced = true; }
public void childElement(String elementName, short occurence) throws SAXException { Element child = getOrCreateElement(elementName); modelGroups.peek().addTerm( Occurence.wrap( child, occurence ) ); child.isReferenced = true; }
public void childElement(String elementName, short occurence) throws SAXException { Element child = getOrCreateElement(elementName); modelGroups.peek().addTerm( Occurence.wrap( child, occurence ) ); child.isReferenced = true; }
public void childElement(String elementName, short occurence) throws SAXException { Element child = getOrCreateElement(elementName); modelGroups.peek().addTerm( Occurence.wrap( child, occurence ) ); child.isReferenced = true; }
public void childElement(String elementName, short occurence) throws SAXException { Element child = getOrCreateElement(elementName); modelGroups.peek().addTerm( Occurence.wrap( child, occurence ) ); child.isReferenced = true; }
public void endContentModel(String elementName, short contentModelType) throws SAXException { assert modelGroups.size()==1; Term term = modelGroups.pop().wrapUp(); Element e = getOrCreateElement(elementName); e.define( contentModelType, term, copyLocator() ); }
public void endContentModel(String elementName, short contentModelType) throws SAXException { assert modelGroups.size()==1; Term term = modelGroups.pop().wrapUp(); Element e = getOrCreateElement(elementName); e.define( contentModelType, term, copyLocator() ); }
public void endContentModel(String elementName, short contentModelType) throws SAXException { assert modelGroups.size()==1; Term term = modelGroups.pop().wrapUp(); Element e = getOrCreateElement(elementName); e.define( contentModelType, term, copyLocator() ); }
public void endContentModel(String elementName, short contentModelType) throws SAXException { assert modelGroups.size()==1; Term term = modelGroups.pop().wrapUp(); Element e = getOrCreateElement(elementName); e.define( contentModelType, term, copyLocator() ); }
public void endContentModel(String elementName, short contentModelType) throws SAXException { assert modelGroups.size()==1; Term term = modelGroups.pop().wrapUp(); Element e = getOrCreateElement(elementName); e.define( contentModelType, term, copyLocator() ); }