@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
/** * Computes the names of possible root elements for a better error diagnosis. */ private String computeExpectedElements() { StringBuilder r = new StringBuilder(); for( QName n : getExpectedChildElements() ) { if(r.length()!=0) r.append(','); r.append("<{").append(n.getNamespaceURI()).append('}').append(n.getLocalPart()).append('>'); } if(r.length()==0) { return "(none)"; } return r.toString(); }
/** * Allows to access elements which are expected in current state. * Useful for getting elements for current parent. * * @return */ public Collection<QName> getCurrentExpectedElements() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedChildElements() : null; } finally { popCoordinator(); } }
@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
/** * Computes the names of possible root elements for a better error diagnosis. */ private String computeExpectedElements() { StringBuilder r = new StringBuilder(); for( QName n : getExpectedChildElements() ) { if(r.length()!=0) r.append(','); r.append("<{").append(n.getNamespaceURI()).append('}').append(n.getLocalPart()).append('>'); } if(r.length()==0) { return "(none)"; } return r.toString(); }
/** * Allows to access elements which are expected in current state. * Useful for getting elements for current parent. * * @return */ public Collection<QName> getCurrentExpectedElements() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedChildElements() : null; } finally { popCoordinator(); } }
@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
@Override public Collection<QName> getExpectedChildElements() { return defaultLoader.getExpectedChildElements(); }
/** * Computes the names of possible root elements for a better error diagnosis. */ private String computeExpectedElements() { StringBuilder r = new StringBuilder(); for( QName n : getExpectedChildElements() ) { if(r.length()!=0) r.append(','); r.append("<{").append(n.getNamespaceURI()).append('}').append(n.getLocalPart()).append('>'); } if(r.length()==0) { return "(none)"; } return r.toString(); }
/** * Computes the names of possible root elements for a better error diagnosis. */ private String computeExpectedElements() { StringBuilder r = new StringBuilder(); for( QName n : getExpectedChildElements() ) { if(r.length()!=0) r.append(','); r.append("<{").append(n.getNamespaceURI()).append('}').append(n.getLocalPart()).append('>'); } if(r.length()==0) { return "(none)"; } return r.toString(); }
/** * Allows to access elements which are expected in current state. * Useful for getting elements for current parent. * * @return */ public Collection<QName> getCurrentExpectedElements() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedChildElements() : null; } finally { popCoordinator(); } }
/** * Allows to access elements which are expected in current state. * Useful for getting elements for current parent. * * @return */ public Collection<QName> getCurrentExpectedElements() { pushCoordinator(); try { State s = getCurrentState(); Loader l = s.loader; return (l != null) ? l.getExpectedChildElements() : null; } finally { popCoordinator(); } }