protected StringToken createChildStringToken(String literal, DatatypeRef dtRef) { return new StringToken(resCalc, literal, context, dtRef); }
protected StringToken createChildStringToken(String literal, DatatypeRef dtRef) { return new StringToken(resCalc, literal, context, dtRef); }
protected StringToken createChildStringToken( String literal, DatatypeRef dtRef ) { return new StringRecoveryToken( new StringToken( resCalc, literal, context, dtRef ) ); }
protected StringToken createChildStringToken( String literal, DatatypeRef dtRef ) { return new StringRecoveryToken( new StringToken( resCalc, literal, context, dtRef ) ); }
protected StringToken createChildStringToken( String literal, DatatypeRef dtRef ) { return new StringRecoveryToken( new StringToken( resCalc, literal, context, dtRef ) ); }
protected StringToken createChildStringToken( String literal, DatatypeRef dtRef ) { return new StringRecoveryToken( new StringToken( resCalc, literal, context, dtRef ) ); }
public boolean onText2( String literal, IDContextProvider2 provider, StringRef refErr, DatatypeRef refType ) { return stepForward( new StringToken(docDecl,literal,provider,refType), refErr ); }
public boolean onText2( String literal, IDContextProvider2 provider, StringRef refErr, DatatypeRef refType ) { return stepForward( new StringToken(docDecl,literal,provider,refType), refErr ); }
protected AttributeToken( REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context ) { this( docDecl, namespaceURI, localName, qName, new StringToken(docDecl,value,context,new DatatypeRef()) ); } protected AttributeToken( REDocumentDeclaration docDecl,
public final boolean onAttribute2( String namespaceURI, String localName, String qName, String value, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { // instead of creating a new object each time, // use a cached copy. docDecl.attToken.reinit( namespaceURI,localName,qName, new StringToken(docDecl,value,context,refType) ); return onAttribute( docDecl.attToken, refErr ); }
protected AttributeToken( REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context ) { this( docDecl, namespaceURI, localName, qName, new StringToken(docDecl,value,context,new DatatypeRef()) ); } protected AttributeToken( REDocumentDeclaration docDecl,
/** eats string literal */ public final boolean onText2( String literal, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { if(!super.onText2(literal,context,refErr,refType)) return false; final StringToken token = new StringToken(docDecl,literal,context); final ResidualCalculator res = docDecl.resCalc; // some may become invalid, but at least one always remain valid for( int i=0; i<contents.length; i++ ) contents[i] = res.calcResidual( contents[i], token ); return true; }
/** eats string literal */ public final boolean onText2( String literal, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { if(!super.onText2(literal,context,refErr,refType)) return false; final StringToken token = new StringToken(docDecl,literal,context); final ResidualCalculator res = docDecl.resCalc; // some may become invalid, but at least one always remain valid for( int i=0; i<contents.length; i++ ) contents[i] = res.calcResidual( contents[i], token ); return true; }
/** eats string literal */ public final boolean onText2( String literal, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { if(!super.onText2(literal,context,refErr,refType)) return false; final StringToken token = new StringToken(docDecl,literal,context); final ResidualCalculator res = docDecl.resCalc; // some may become invalid, but at least one always remain valid for( int i=0; i<contents.length; i++ ) contents[i] = res.calcResidual( contents[i], token ); return true; }
protected AttributeToken( REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context ) { this( docDecl, namespaceURI, localName, qName, new StringToken(docDecl,value,context,new DatatypeRef()) ); } protected AttributeToken( REDocumentDeclaration docDecl,
public final boolean onAttribute2( String namespaceURI, String localName, String qName, String value, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { // instead of creating a new object each time, // use a cached copy. docDecl.attToken.reinit( namespaceURI,localName,qName, new StringToken(docDecl,value,context,refType) ); return onAttribute( docDecl.attToken, refErr ); }
public final boolean onAttribute2( String namespaceURI, String localName, String qName, String value, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { // instead of creating a new object each time, // use a cached copy. docDecl.attToken.reinit( namespaceURI,localName,qName, new StringToken(docDecl,value,context,refType) ); return onAttribute( docDecl.attToken, refErr ); }
/** eats string literal */ public final boolean onText2( String literal, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { if(!super.onText2(literal,context,refErr,refType)) return false; final StringToken token = new StringToken(docDecl,literal,context); final ResidualCalculator res = docDecl.resCalc; // some may become invalid, but at least one always remain valid for( int i=0; i<contents.length; i++ ) contents[i] = res.calcResidual( contents[i], token ); return true; }
public final boolean onAttribute2( String namespaceURI, String localName, String qName, String value, IDContextProvider2 context, StringRef refErr, DatatypeRef refType ) { // instead of creating a new object each time, // use a cached copy. docDecl.attToken.reinit( namespaceURI,localName,qName, new StringToken(docDecl,value,context,refType) ); return onAttribute( docDecl.attToken, refErr ); }
protected AttributeToken( REDocumentDeclaration docDecl, String namespaceURI, String localName, String qName, String value, IDContextProvider2 context ) { this( docDecl, namespaceURI, localName, qName, new StringToken(docDecl,value,context,new DatatypeRef()) ); } protected AttributeToken( REDocumentDeclaration docDecl,